lnd/watchtower/wtclient
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
..
addr_iterator_test.go watchtower: add AddressIterator and tests 2022-10-20 15:46:03 +02:00
addr_iterator.go watchtower: add AddressIterator and tests 2022-10-20 15:46:03 +02:00
backup_task_internal_test.go watchtower/wtclient: upgrade pkg to use require 2022-10-19 18:49:17 +02:00
backup_task.go watchtower: uses P2TR for sweep, delivery, and reward addresses 2022-08-11 17:26:13 -07:00
candidate_iterator_test.go watchtower: make use of the new AddressIterator 2022-10-20 15:46:52 +02:00
candidate_iterator.go watchtower: allow removal during session negotiation 2022-10-20 15:46:56 +02:00
client_test.go watchtower: allow removal during session negotiation 2022-10-20 15:46:56 +02:00
client.go watchtower: make use of the new ClientSessionFilterFn option 2023-03-16 14:59:08 +02:00
errors.go watchtower: make use of the new AddressIterator 2022-10-20 15:46:52 +02:00
interface.go watchtower: add MarkChannelClosed db method 2023-03-20 10:46:52 +02:00
log.go watchtower/wtclient/log: adds wtclient logging 2019-03-15 02:30:35 -07:00
session_negotiator.go watchtower: allow removal during session negotiation 2022-10-20 15:46:56 +02:00
session_queue.go multi: improve readability of goroutine defers 2022-11-21 13:54:24 +01:00
stats.go multi: fix typos and grammar issues in comments [skip ci] 2022-10-17 09:40:22 +02:00
task_pipeline.go wtclient/task_pipeline: add prefix logging 2021-01-04 08:32:31 -08:00