lnd/watchtower
Elle Mouton 25afc8ad90
watchtower: add RangeIndex and tests
In this commit, a new concept called a RangeIndex is introduced. It
provides an efficient way to keep track of numbers added to a set by
keeping track of various ranges instead of individual numbers.

Notably, it also provides a way to map the contents & diffs applied to
the in memory RangeIndex (which uses a sorted array structure) to a
persisted KV structure.
2023-01-11 13:46:55 +02:00
..
blob multi: fix make fmt 2022-08-23 22:10:24 +08:00
lookout watchtower: uses P2TR for sweep, delivery, and reward addresses 2022-08-11 17:26:13 -07:00
wtclient multi: improve readability of goroutine defers 2022-11-21 13:54:24 +01:00
wtdb watchtower: add RangeIndex and tests 2023-01-11 13:46:55 +02:00
wtmock watchtower: make use of the new AddressIterator 2022-10-20 15:46:52 +02:00
wtpolicy watchtower: uses P2TR for sweep, delivery, and reward addresses 2022-08-11 17:26:13 -07:00
wtserver watchtower: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
wtwire brontide,lnwire,wtwire,zpay32: appease linter 2022-11-11 08:44:30 -06:00
conf.go watchtower: add externalip CLI configuration 2019-06-20 17:04:03 -07:00
config.go multi: Add --tor.encryptkey flag functionality to encrypt the Tor private key on disk 2022-09-30 01:53:46 -05:00
errors.go watchtower/conf: remove experimental conditional compilation 2019-06-13 19:54:19 -07:00
interface.go watchtower/conf: abstract address normalizer to prevent import cycle 2019-06-13 19:54:19 -07:00
log.go watchtower: remove dead logging code 2020-04-24 19:15:08 +02:00
standalone.go multi: Add --tor.encryptkey flag functionality to encrypt the Tor private key on disk 2022-09-30 01:53:46 -05:00
tlv_bench_test.go tlv+watchtower: move bench test 2022-02-21 13:48:31 +01:00