lnd/watchtower/wtclient
Elle Mouton 01e2f10797
wtclient: demo that in-mem updates are lost
This commit adds a test to the wtclient. The test demonstrates that if a
client tries to back up states while it has no active sessions with a
server then those updates are accumlated in memory and lost on restart.
This will be fixed in upcoming commits.
2023-05-16 10:57:49 +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 wtclient: only fetch retribution info when needed. 2023-04-24 13:15:40 +02:00
backup_task.go wtclient: only fetch retribution info when needed. 2023-04-24 13:15:40 +02: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 wtclient: demo that in-mem updates are lost 2023-05-16 10:57:49 +02:00
client.go wtclient: add mutex locking in perUpdate 2023-04-24 13:15:40 +02:00
errors.go wtclient: spin session key indices if required 2023-03-31 12:05:58 +02:00
interface.go watchtower: add forceNext to NextSessionKeyIndex 2023-03-31 12:04:57 +02:00
log.go watchtower/wtclient/log: adds wtclient logging 2019-03-15 02:30:35 -07: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: only fetch retribution info when needed. 2023-04-24 13:15:40 +02: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: let task pipeline only carry wtdb.BackupID 2023-04-24 13:15:40 +02:00