249 Commits
Author SHA1 Message Date
Ben Woosley 465c2d17f4 autopilot: Change default heuristic to top_centrality 2020-10-02 20:13:54 -07:00
Ben Woosley da805c022e Fix top_centrality in sample-lnd.conf
Input:
> autopilot.heuristic={topk_centrality:1}

Result:
> strconv.ParseFloat: parsing "1}": invalid syntax

Input:
> autopilot.heuristic=topk_centrality:1

Result:
> heuristic topk_centrality not available. Available heuristics are: [ 'preferential'  'externalscore'  'top_centrality' ]
2020-10-02 15:09:52 -07:00
Kartik Shah b55c4e1ca9 Fix sync-freelist documentation 2020-09-20 02:50:48 +05:30
Oliver Gugger ae7d69838e Merge pull request #4625 from guggero/letsencrypt-listen
lnd+config: allow Let's Encrypt listen IP to be set
2020-09-17 14:55:30 +02:00
Oliver Gugger d33ddffca4 sample-lnd.conf: change letsencryptport to letsencryptlisten 2020-09-17 12:31:01 +02:00
Mayank Chhabra ac46f9a298 Remove duplicate tor.streamisolation option
This commit removes the duplicate tor.streamisolation option from `sample-lnd.conf` example config file (which was accidentally added in commit #104a9094980f31560ca269d3b01f000dd775778d)
2020-09-17 12:37:20 +05:30
Wilmer Paulino a5c5304c09 Merge pull request #4452 from yyforyongyu/add-connection-timeout
lnrpc+tor: add network connection timeout
2020-09-16 12:28:29 -07:00
Joost Jager 3531c3fbbe Merge pull request #4602 from joostjager/proportional-attempt-cost
routing: proportional attempt cost
2020-09-16 14:12:19 +02:00
yyforyongyu 469aba9282 lnd+rpcserver: allow customized timeout in ConnectPeer 2020-09-16 11:50:04 +08:00
Olaoluwa Osuntokun fa342a1230 Merge pull request #4567 from calvinrzachman/max-wumbo
add new max channel size config option
2020-09-15 15:31:47 -07:00
Joost JagerandVegard Engen 403d72b468 lnrpc: lets encrypt
This commit enables lnd to request and renew a Let's Encrypt
certificate. This certificate is used both for the grpc as well as the
rest listeners. It allows clients to connect without having a copy of
the (public) server certificate.

Co-authored-by: Vegard Engen <vegard@engen.priv.no>
2020-09-15 09:59:09 +02:00
Calvin Zachman f5fb64e552 add new max channel size config option
- let users specify their MAXIMUM WUMBO with new config option which sets the maximum channel size lnd will accept
- current implementation is a simple check by the fundingManager rather than anything to do with the ChannelAcceptor
- Add test cases which verify that maximum channel limit is respected for wumbo/non-wumbo channels
- use --maxchansize 0 value to distinguish set/unset config. If user sets max value to 0 it will not do anything as 0 is currently used to indicate to the funding manager that the limit should not be enforced. This seems justifiable since --maxchansize=0 doesn't seem to make sense at first glance.
- add integration test case to ensure that config parsing and valiation is proper. I simplified the funding managers check electing to rely on config.go to correctly parse and set up either i) non wumbo default limit of 0.16 BTC OR ii) wumbo default soft limit of 10 BTC

Addresses: https://github.com/lightningnetwork/lnd/issues/4557
2020-09-14 21:16:32 -05:00
Dan Janosik 52c7a1519f docs: fix "tor.active" item in sample-lnd.conf
When starting up with lnd.conf that contains the sample line
"tor.active", lnd crashes and prints the error:

malformed key=value (tor.active)

Using "tor.active=true" instead works as expected.
2020-09-09 16:27:57 -04:00
Joost Jager bbfeeec8b1 routing: add proportional attempt cost 2020-09-08 15:47:08 +02:00
Olaoluwa Osuntokun 104a909498 docs: update sample-lnd.conf
In this commit, we update the `sample-lnd.conf` example config file to
be up to date with all the new configuration parameters we've added over
the past few release.
2020-09-03 18:27:38 -07:00
carla 5a73029442 multi: add minimum disk space check 2020-08-24 09:38:11 +02:00
carla c365a16656 healthcheck: monitor access to chain backend
Add a new health check package which will periodically poll health
check functions and shutdown if we do not succeed after our set number
of attempts. The first check that we add is one for our chain backend,
to ensure that we are connected to a bitcoin node.
2020-08-24 09:35:36 +02:00
Olaoluwa Osuntokun 9f5f48b20d Merge pull request #4089 from fguisso/acceptor
rpcserver: parameterize acceptortimeout
2020-04-30 19:03:55 -07:00
yyforyongyu 97da7b3444 multi: support config bitcoind fee estimate mode 2020-03-25 14:59:23 +08:00
fguisso 5ab7dd89e7 rpcserver: parameterize acceptortimeout 2020-03-17 16:43:14 -03:00
Ediz Turcan a520008960 sample-lnd.conf: missing full stop added (typo) 2020-03-05 22:08:38 +01:00
Ediz Turcan bf5ccce786 sample-lnd.conf: remove deprecated wtclient option 2020-03-05 20:33:37 +01:00
Philipp Gille b6ea7d5f6c config: Make bools in sample-lnd.conf consistent 2019-12-29 14:12:06 +01:00
Dennis Reimann dcfeebaa1b Document setting multiple tlsextra entries
Minor addition to #2704, because I was wondering how to set multiple tlsextra entries.
2019-11-22 10:22:28 +01:00
Conner Fromknecht a38d44e3da sample-lnd.conf: add watchtower and wtclient sample confs 2019-07-01 15:56:10 -07:00
Francisco Calderón 8a31da9d09 Add minchansize to sample config file 2019-05-18 12:31:32 -03:00
frennkie 07b991dc53 Update sample-lnd.conf 2019-04-22 18:05:57 +02:00
Olaoluwa OsuntokunandValentine Wallace 1fa13e5cfc chainregistry+config: enable neutrino fee estimation from external api
Co-authored-by: Valentine Wallace <vwallace@protonmail.com>
2019-04-16 14:16:56 -07:00
Olaoluwa Osuntokun b341dea373 Merge pull request #1108 from sangaman/sever-server
multi: fix sever/server typos
2018-09-27 22:23:45 -07:00
Conner Fromknecht 98518706b2 sample-lnd.conf: remove noencryptwallet flag from sample 2018-09-04 20:52:44 -07:00
Wilmer PaulinoandKarl Ranna dc3db4bf62 docs: update path to where macaroons are stored
Co-Authored-By: Karl Ranna <karl@karlranna.com>
2018-08-23 18:05:00 -07:00
Lightning Koala fab1aa2d49 docs: Add tlsextraip + tlsextradomain to sample config (#1665) 2018-08-13 22:10:54 -07:00
Wilmer Paulino 41379c9c73 docs: fix lnd w/ bitcoind backend example command 2018-08-09 23:54:47 -07:00
Wilmer Paulino e58486b599 docs: note that different ZMQ sockets must be used with bitcoind 2018-08-08 20:26:31 -07:00
Daniel McNally e207f9ad71 multi: fix sever/server typos
Fixed sever/server typos and regenerated rpc.pb.go
2018-07-16 09:00:45 -04:00
Oliver Gugger 8d6b49384a config: add unix socket example to sample configuration 2018-06-14 08:19:10 +02:00
Wilmer Paulino c1886d2c1c docs: add NAT traversal related documentation 2018-06-12 18:40:13 -07:00
vegardengen 5eed171187 config: make log rotation configurable 2018-04-06 15:11:42 -07:00
Nalin Bhardwaj 35fc4f48f7 sample-lnd.conf: Litecoin fixes
Fixes litecoin related configurations.
Changes bitcoind.zmqpath to be consistent with recent changes.
2018-03-24 15:01:12 +05:30
Alex Gessner 0c1b619e53 docs: move defaultchanconfs setting in sample-lnd.conf to bitcoin section
Since https://github.com/lightningnetwork/lnd/pull/506, `defaultchanconfs` is nested under `bitcoin`. Using this parameter at the top level generates a warning message:
```
2018-03-17 23:07:08.273 [WRN] LTND: /home/bitcoin/.lnd/lnd.conf:7: unknown option: defaultchanconfs
```
and using it nested under `bitcoin` does not.
2018-03-18 16:09:22 -07:00
vegardengen fded72f49d docs: clarify usage of externalip in sample-lnd.conf 2018-03-06 16:03:26 -05:00
Olaoluwa Osuntokun 2aac20ec12 docs: update sample-lnd.conf with Tor info 2018-02-09 12:16:16 -08:00
MeshCollider 3e702f09ec docs: Make spacing in sample config consistent 2018-02-08 15:21:04 -08:00
MeshCollider 50815cc8ba docs: Add alias and color examples to sample-lnd.conf 2018-02-08 15:21:04 -08:00
Olaoluwa Osuntokun 87742ce861 docs: update wording on autopilot.allocation
Fixes #681.
2018-01-28 15:05:41 -08:00
Matt Drollette 86133e559b config: add peer, rpc, and rest listener options
This commit removes the `peerport` and `rpcport` config options and
adds `listen`, `rpclisten`, and `restlisten` options to allow setting
one or multiple interfaces to listen on for incoming connections.

It also adds a `nolisten` option to allow disabling the listener for
incoming peer connections.
2018-01-21 17:35:03 -08:00
Alex 3da0e2011b docker, docs, sample-lnd.conf: update examples for new command-line options 2018-01-15 14:56:21 -08:00
Olaoluwa Osuntokun 1fa9ac7077 docs: update sample-lnd.conf
This commit adds additional documentation to the sample-lnd.conf, and
also ensures that users are able to drop it in without any issues. The
prior version left the namespace off several of the arguments, rendering
it unusable.

Fixes #462.
2017-12-08 13:16:12 -08:00
Steven Roose 4e615f9afb lnd: add sample config file 2017-11-11 18:58:06 -08:00