lnd/watchtower/wtclient
Elle Mouton d4fefda10a
wtclient: demonstrate overflow queue flake
In this commit, some temporary variables and logic is added to the
DiskOverflowQueue for easy stop/go control from unit tests. This is then
used to write a temporary unit tests that demonstrates a race condition
that can cause the queue to be in disk mode when it should be in memory
mode. This new code & test will be removed after the issue has been
fixed.
2024-01-15 17:26:34 +02:00
..
addr_iterator.go wtclient: add clarifying comments to the AddressIterator 2023-03-30 14:46:56 +02:00
addr_iterator_test.go wtclient: make addr iterator panic safe 2023-03-30 12:29:41 +02:00
backup_task.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
backup_task_internal_test.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
candidate_iterator.go wtclient: make addr iterator panic safe 2023-03-30 12:29:41 +02:00
candidate_iterator_test.go watchtower/wtclient: add Copy method to AddressIterator 2023-03-20 16:51:32 +02:00
client.go wtclient: use the new filter options to fix the demo'd bug 2024-01-12 08:25:28 +02:00
client_test.go wtclient: use the new filter options to fix the demo'd bug 2024-01-12 08:25:28 +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: start using the new channel max heights 2023-11-27 20:01:17 +02:00
log.go watchtower/wtclient/log: adds wtclient logging 2019-03-15 02:30:35 -07:00
manager.go wtclient+server: unexport and rename TowerClient 2023-11-28 11:01:51 +02:00
queue.go wtclient: demonstrate overflow queue flake 2024-01-15 17:26:34 +02:00
queue_test.go wtclient: demonstrate overflow queue flake 2024-01-15 17:26:34 +02:00
sess_close_min_heap.go watchtowers: add thread safe min-heap 2023-03-20 16:51:32 +02:00
sess_close_min_heap_test.go watchtowers: add thread safe min-heap 2023-03-20 16:51:32 +02:00
session_negotiator.go trivial: Fix spelling errors 2023-09-21 22:35:33 -04:00
session_queue.go wtclient+server: unexport and rename TowerClient 2023-11-28 11:01:51 +02:00
stats.go lnrpc+wtclient: refactor ClientStats 2023-11-28 09:54:02 +02:00