lnd.xprv/lncfg
Olaoluwa Osuntokun e616903d4f
config: unify old and new config values for sync-freelist
In this commit, unify the old and new values for `sync-freelist`, and
also ensure that we don't break behavior for any users that're using the
_old_ value.

To do this, we first rename what was `--db.bolt.no-sync-freelist`, to
`--db.bolt.sync-freelist`. This gets rid of the negation on the config
level, and lets us override that value if the user is specifying the
legacy config option.

In the future, we'll deprecate the old config option, in favor of the
new DB scoped option.
2020-08-04 18:55:00 -07:00
..
address_test.go lncfg/address_test: test LNAddress parsing, refactor addr tests 2019-01-09 16:37:56 -08:00
address.go lncfg+lncli: replace WithDialer->WitchContextDialer 2019-12-17 13:37:29 +01:00
autopilot.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
bitcoind.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
btcd.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
caches.go lncfg/caches: adds Caches sub config 2019-04-01 16:34:04 -07:00
chain.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
config.go multi: move exported items to lncfg 2020-05-14 14:37:51 +02:00
db.go config: unify old and new config values for sync-freelist 2020-08-04 18:55:00 -07:00
interface.go lncfg/interface: define Validator iface + variadic Validate 2019-04-01 16:33:50 -07:00
monitoring_off.go rpcserver+monitoring/config: enable Prometheus monitoring. 2019-06-11 11:26:09 -07:00
monitoring_on.go rpcserver+monitoring/config: enable Prometheus monitoring. 2019-06-11 11:26:09 -07:00
neutrino.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +02:00
protocol_experimental_off.go lncfg: split off protocol options into normal and legacy, normal reqs no build tag 2020-07-10 16:27:12 -07:00
protocol_experimental_on.go lncfg: split off protocol options into normal and legacy, normal reqs no build tag 2020-07-10 16:27:12 -07:00
protocol_legacy_off.go lncfg: split off protocol options into normal and legacy, normal reqs no build tag 2020-07-10 16:27:12 -07:00
protocol_legacy_on.go lncfg: split off protocol options into normal and legacy, normal reqs no build tag 2020-07-10 16:27:12 -07:00
protocol.go server+lncfg: add new config flag to enable wumbo channels 2020-07-10 16:27:13 -07:00
tor.go config+lncfg: move config structs to lncfg, drop suffix 2020-05-14 14:37:48 +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 lncfg: show deprecated warning for wtclient.private-tower-uris option 2019-09-25 14:41:26 -07:00