lnd/watchtower/wtclient
Elle Mouton 2a9339805e
watchtower: account for rogue updates
In this commit, we introduce the concept of a rogue update. An update is
rogue if we need to ACK it but we have already deleted all the data for
the associated channel due to the channel being closed. In this case, we
now no longer error out and instead keep count of how many rogue updates
a session has backed-up.
2023-09-14 10:33:02 +02:00
..
addr_iterator_test.go wtclient: make addr iterator panic safe 2023-03-30 12:29:41 +02:00
addr_iterator.go wtclient: add clarifying comments to the AddressIterator 2023-03-30 14:46:56 +02:00
backup_task_internal_test.go lnwire: update Sig to support both ECDSA and schnorr sigs 2023-08-22 16:29:19 -07:00
backup_task.go lnwire: update Sig to support both ECDSA and schnorr sigs 2023-08-22 16:29:19 -07:00
candidate_iterator_test.go watchtower/wtclient: add Copy method to AddressIterator 2023-03-20 16:51:32 +02:00
candidate_iterator.go wtclient: make addr iterator panic safe 2023-03-30 12:29:41 +02:00
client_test.go watchtower: account for rogue updates 2023-09-14 10:33:02 +02:00
client.go watchtower: use bbolt db instead of mock DB for client tests 2023-09-13 12:13:22 +02:00
errors.go wtclient: spin session key indices if required 2023-03-31 12:05:58 +02:00
fuzz_test.go wtclient: AddressIterator fuzz test 2023-06-01 08:46:45 -05:00
interface.go watchtower: add DeleteCommittedUpdate DB method 2023-07-18 16:28:27 +02:00
log.go watchtower/wtclient/log: adds wtclient logging 2019-03-15 02:30:35 -07:00
queue_test.go watchtower: completely remove the mock tower client DB 2023-09-13 12:21:04 +02:00
queue.go multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
sess_close_min_heap_test.go watchtowers: add thread safe min-heap 2023-03-20 16:51:32 +02:00
sess_close_min_heap.go watchtowers: add thread safe min-heap 2023-03-20 16:51:32 +02:00
session_negotiator.go wtclient: spin session key indices if required 2023-03-31 12:05:58 +02:00
session_queue.go wtclient: replay un-acked updates onto pipeline 2023-07-18 16:28:27 +02:00
stats.go multi: fix typos and grammar issues in comments [skip ci] 2022-10-17 09:40:22 +02:00