Commit Graph
163 Commits
Author SHA1 Message Date
Olaoluwa Osuntokun f4fdd82327 Merge pull request #7264 from yyforyongyu/gossip-resend-messages
discovery: fix message order in batch sending
2023-02-21 17:10:13 -08:00
yyforyongyu c3d1d3c4f1 multi: make SubBatchDelay configurable
This commit adds a new config option `--gossip.sub-batch-delay` so we
can speed up our itest.
2023-02-17 14:10:09 +08:00
Elle Mouton 0730337cc7 multi: add new NoRevLogAmtData config option
In this commit, a new `--db.no-rev-log-amt-data` flag is added. The
config option is passed though to everywhere that it will be used. Note
that it is still a no-op in this commit. An upcoming commit will make
use of the flag.
2023-02-16 20:47:29 +02:00
Oliver Gugger 38dc67e1ef Merge pull request #6815 from bitromortac/2205-bimodal
pathfinding: probability for bimodal distribution
2023-02-15 14:19:32 +01:00
bitromortac 58d5131e31 lnd+routerrpc: configure server with new estimator
We add new lnd.conf configuration options for both probability
estimators. Note that this is a breaking change for the existing apriori
parameters.
2023-02-14 13:34:25 +01:00
Pavol Rusnak 2441c2e016 docs: fix whitespace in sample-lnd.conf 2023-02-12 11:30:19 +01:00
Oliver Gugger 0cf0a7dd3b Merge pull request #7341 from bottlepay/final-settle-opt-in
channeldb: final htlc resolution storage opt-in
2023-02-06 13:21:40 +01:00
Olaoluwa Osuntokun 5d22d5eb6c Merge pull request #7252 from ellemouton/sqlite-pt2
multi: add sqlite backend option
2023-01-31 10:14:46 -08:00
Graham Krizek 5d6ce2824f docs: Add documentation for the TLS key encryption flag 2023-01-26 13:32:12 -06:00
Joost Jager 7a785c74c4 channeldb: final htlc resolution storage opt-in 2023-01-26 07:02:17 +01:00
Elle Mouton 8363c4075c multi: add sqlite backend option
In this diff, we expose the option to use sqlite as a db backend.
2023-01-25 14:16:55 +02:00
Slyghtning c5fa9ef45f docs: Fix lnd.conf typo
Remove repeated word error [skip ci]
2022-12-28 20:37:03 +10:30
yyforyongyu e6bebc4fe7 lnd: make MailboxDeliveryTimeout configurable 2022-11-03 18:29:08 +08:00
TonySanak fe973d694d Update sample-lnd.conf
bitcoin.rpcpolling has to be set to true, otherwise malformed key=value (bitcoind.rpcpolling) error happens during initialization.
2022-10-03 09:33:29 -07:00
Graham Krizek c284574104 docs: Add a section in configuring_tor about the --tor.encryptkey flag 2022-09-30 01:53:46 -05:00
Abel 836d32514b sample-conf: Chain backend documentation reformat, add warning [skip ci]
Change formatting of `bitcoin.node` configuration, add warning
about changing BETWEEN chain back-ends
2022-09-09 16:42:08 +02:00
yyforyongyu 2f27a52f7f server+lncfg: make sweepr batch window duration configurable 2022-09-01 10:44:29 +08:00
Olaoluwa Osuntokun 89529fbb4f feature+lncfg: add config option to turn of anysegwit 2022-08-10 18:44:37 -07:00
yyforyongyu 87f58a274b multi: add the flag prune-revocation to perform the optional migration 2022-07-12 21:01:11 +08:00
eugene 91b26f8ce7 sample-lnd: showing how to enable scid-alias, zero-conf feature bits 2022-07-07 17:10:30 -04:00
Tommy Volk 8291e8a170 multi: add keep-failed-payment-attempts flag 2022-07-03 21:04:27 +00:00
Orbital 7509af1a70 multi: add rpcpolling config options 2022-05-11 09:02:13 +02:00
Elle Mouton c76d04ef91 multi: make ZmqReadDeadline configurable
Make the Bitcoind ZMQReadDeadline option configurable.
2022-05-11 08:45:07 +02:00
Carl Dong 89209ec596 config: Add bitcoind.{config,rpccookie} configuration options
Currently, the Bitcoind.Dir configuration option is used as the base
directory for locating both the bitcoind configuration file and the RPC
cookie file. However, it is quite common for Bitcoin Core to be packaged
in such a way that the configuration file and the RPC cookie file reside
in different directories: "/etc/bitcoin/bitcoin.conf" and
"/var/lib/bitcoind/.cookie".

This change makes it such that --bitcoind.config and
--bitcoind.rpccookie options can be specified to override the default
auto-detection logic, and if either is unspecified, the auto-detection
logic will still do its job.
2022-04-21 14:01:51 -04:00
Turtle 747161a1f4 lnd: add config option for specifying particular peers to connect to 2022-04-19 12:37:44 -05:00
Hitanshu Mehta 3dc5ddc168 fix typos [skip ci] 2022-04-11 18:26:54 +05:30
yyforyongyu 1c8c0b4fa0 multi: make PendingCommitInterval configurable 2022-03-24 10:01:42 +08:00
Andras Banki-Horvath 7c8093ad1a config: update sample-lnd.conf 2022-03-22 14:20:40 +01:00
Joost JagerandJuan Pablo Civile ae314ec794 htlcswitch: add an always on mode to interceptable switch
Co-authored-by: Juan Pablo Civile <elementohb@gmail.com>
2022-03-17 17:39:37 +01:00
eugene 9d8ff1fae5 config: clamp channel-commit-interval to reasonable time 2022-02-24 13:41:31 -05:00
Olaoluwa Osuntokun 10c5d6c0bd monitoring+cfg: add new option to export gRPC perf metrics
In this commit, we expose a new monitoring option to allow users to
export gRPC performance metrics. These metrics can be used to see how
long certain calls are taking, the total amount of time spent handling
calls, broken down by service and also call.

This option consumes additional memory and disk space for the Prometheus
server, which is why we're opting to make it an optional flag.
2022-02-01 15:55:26 -08:00
Dimitris Apostolou 530a2059e5 multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
Oliver Gugger bab807a57d multi: add migrate-wallet-to-watch-only flag
To enable converting an existing wallet with private key material into a
watch-only wallet on first startup with remote signing enabled, we add a
new flag. Since the conversion is a destructive process, this shouldn't
happen automatically just because remote signing is enabled.
2022-01-06 14:35:26 +01:00
Oliver Gugger da59c1fa62 multi: add health check for remote signer 2022-01-06 14:35:25 +01:00
Oliver Gugger 9601a9ab84 multi: make remote signer RPC timeout configurable 2022-01-06 14:35:25 +01:00
Andras Banki-Horvath 1ccc5e8014 etcd: make max message size configurable 2021-12-02 21:07:49 +01:00
Oliver Gugger 03a038c769 Merge pull request #5888 from BhaagBoseDK/patch-1
payments-expiration-grace-period needs time unit
2021-11-29 09:55:30 +01:00
Joost Jager 274faff980 postgres: add connection limit 2021-11-17 11:08:43 +01:00
Olaoluwa Osuntokun 67e18e6089 rpc: optimize DescribeGraph by caching the response
Unfortunately, we can't use the graph cache directly here as it doesn't
include all the information we need, since it only includes the minimal
amount of information needed for path finding.

Instead, we use a simple mutex guarded cache that evicts itself after a
certain interval. The default is set small enough that most users
shouldn't really notice. We also provide a way to disable the cache, and
also disable the cache in the itests.

Fixes https://github.com/lightningnetwork/lnd/issues/1232
2021-11-04 15:30:31 -07:00
BhhagBoseDK 16e96784d1 [skip-ci] payments-expiration-grace-period needs time unit
[skip-ci]
payments-expiration-grace-period needs time unit h/m/s or else the lnd does not start.
; payments-expiration-grace-period=30s
Corrected minor typo.
2021-11-01 13:13:13 +00:00
Oliver Gugger a2ad533136 docs+lncfg+sample-lnd.conf: add no-graph-cache option 2021-10-22 09:32:47 +02:00
Wilmer Paulino 35fd985118 lncfg: add protocol config option for script enforced lease support 2021-10-19 18:30:12 -07:00
Olaoluwa Osuntokun 94b7b71809 Merge pull request #5689 from guggero/remote-signer
Support remote signing over RPC
2021-10-18 18:39:17 -07:00
Oliver Gugger 9cae7ad3c2 multi: add remote RPC signing wallet implementation 2021-10-14 15:42:49 +02:00
yyforyongyu f41f5c7fa6 multi: add tor connection healthcheck
This commit adds a new health check, tor connection, to our liveness
monitor. A monitor refactor is applied to the server creation such that
the scope of health check creation is managed within one function.
2021-10-11 13:11:55 +08:00
eugene 702b3a3258 multi: introduce config-level DustThreshold for defining threshold 2021-09-30 13:44:35 -04:00
Joost Jager ae6cf72b46 lncfg: add postgres 2021-09-21 10:44:20 +02:00
Oliver Gugger 918e021177 config+sample-lnd.conf+lncfg: add RPC middleware config 2021-09-20 13:05:47 +02:00
Andras Banki-Horvath 6c2d8bb176 etcd: enable optional log file for embedded etcd log output
In this commit we add an extra config for enabling logging to an
external file when using embedded etcd. This can be useful when running
integration tests to see more details about etcd related issues.
2021-09-10 14:40:54 +02:00
Olaoluwa Osuntokun ec3af13081 Merge pull request #5410 from adriansmares/feature/add-hybrid-mode
Add Tor hybrid connectivity mode
2021-08-22 12:05:25 -07:00