lnd/watchtower
Elle Mouton 3ff5abc9e3
watchtower: allow removal during session negotiation
In this commit, the bug demonstrated in the previous commit is fixed.
The locking capabilities of the AddressIterator are used to lock
addresses if they are being used for session negotiation. So now, when a
request comes through to remove a tower address then a check is first
done to ensure that the address is not currently in use. If it is not,
then the request can go through.
2022-10-20 15:46:56 +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 watchtower: allow removal during session negotiation 2022-10-20 15:46:56 +02:00
wtdb watchtower: make use of the new AddressIterator 2022-10-20 15:46:52 +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 multi: fix typos and grammar issues in comments [skip ci] 2022-10-17 09:40:22 +02: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