lnd/watchtower
Elle Mouton 571966440c
watchtower: add MarkChannelClosed db method
This commit adds a `MarkChannelClosed` method to the tower client DB.
This function can be called when a channel is closed and it will
check the channel's associated sessions to see if any of them are
"closable". Any closable sessions are added to a new
`cClosableSessionsBkt` bucket so that they can be evaluated in future.
Note that only the logic for this function is added in this commit and
it is not yet called.
2023-03-20 10:46:52 +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: add MarkChannelClosed db method 2023-03-20 10:46:52 +02:00
wtdb watchtower: add MarkChannelClosed db method 2023-03-20 10:46:52 +02:00
wtmock watchtower: add MarkChannelClosed db method 2023-03-20 10: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 multi: migrate towers to use RangeIndex for AckedUpdates 2023-01-11 13:59:03 +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