lnd/lncfg
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
..
address_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
address.go lnd: add config option for specifying particular peers to connect to 2022-04-19 12:37:44 -05:00
autopilot.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
bitcoind.go config: Add bitcoind.{config,rpccookie} configuration options 2022-04-21 14:01:51 -04:00
btcd.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
caches.go rpc: optimize DescribeGraph by caching the response 2021-11-04 15:30:31 -07:00
chain.go multi: add nochainbackend option 2022-01-06 14:35:25 +01:00
cluster.go cluster: configurable session TTL for the leader elector 2022-03-22 14:20:36 +01:00
color_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
color.go lncfg: move ParseHexColor to lncfg 2022-01-24 17:42:54 +01:00
config.go lnd+lncfg: move normalizeNetwork to lncfg 2020-10-29 15:20:00 -04:00
db_test.go bbolt sync-freelist ignored 2021-09-27 06:49:56 +01:00
db.go etcd: make max message size configurable 2021-12-02 21:07:49 +01:00
gossip.go lncfg: expose channel update rate limiting options 2021-03-16 11:42:29 -07:00
healthcheck.go multi: add health check for remote signer 2022-01-06 14:35:25 +01:00
interface.go lncfg/interface: define Validator iface + variadic Validate 2019-04-01 16:33:50 -07:00
invoices.go multi: add height-based invoice expiry 2021-05-11 08:45:29 +02:00
monitoring_off.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
monitoring_on.go monitoring+cfg: add new option to export gRPC perf metrics 2022-02-01 15:55:26 -08:00
neutrino.go lncfg: add config options for new neutrino options 2021-04-29 13:56:17 -07:00
protocol_experimental_off.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
protocol_experimental_on.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
protocol_legacy_off.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
protocol_legacy_on.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
protocol_rpctest.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
protocol.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
remotesigner.go multi: add migrate-wallet-to-watch-only flag 2022-01-06 14:35:26 +01:00
routing.go routing: add strict pruning as new flag, default for neutrino 2021-04-21 13:56:29 -05:00
rpcmiddleware.go config+sample-lnd.conf+lncfg: add RPC middleware config 2021-09-20 13:05:47 +02:00
tor.go config+lnd+tor: Update naming 2021-08-01 14:28:32 +02:00
watchtower.go lncfg: add Watchtower config 2019-06-13 19:54:19 -07:00
workers_test.go config: add sanity check to prevent non-negative worker counts 2019-03-13 20:32:52 -07:00
workers.go lncfg/workers: reduce default write pool workers to 8 2019-04-22 16:30:27 -07:00
wtclient.go multi: fix newly detected linter issues 2022-02-10 11:02:02 +01:00