lnd/watchtower
Gijs van Dam 09379d0381 wtclient: fix race conditions locking tests
This commit fixes two flaky test scenarios:

1. testRemoveLockedAddr: Add synchronization to wait for the dial to
   start before asserting that the address is locked. Previously, the
   test could race and check the lock state before session negotiation
   began.

2. testTowerSwitch: Use wait.Predicate for RemoveTower since the
   address may still be locked by an active session, causing
   intermittent failures.
2026-02-12 13:02:02 +01:00
..
blob multi: update to fn v2 2024-12-04 13:19:00 -07:00
lookout contractcourt+sweep+watchtower: use lnutils.SpewLogClosure for debug logging 2025-09-05 18:20:51 -07:00
wtclient wtclient: fix race conditions locking tests 2026-02-12 13:02:02 +01:00
wtdb linter: remove unsupported linters from the codebase 2025-11-12 22:54:02 +08:00
wtmock input+signrpc+lnwallet+multi: implement combined nonce support 2025-12-10 07:15:06 +02:00
wtpolicy multi: apply the new type lntypes.WeightUnit 2024-05-25 13:37:13 +08:00
wtserver multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
wtwire multi: fix some function names in interface comment 2024-11-25 10:49:00 +08:00
conf.go multi: add default watchtower config to main LND config 2023-06-15 11:36:44 +02: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: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
standalone.go server.go+accessman.go: introduce caches for access permissions 2025-03-11 20:42:34 -04:00
tlv_bench_test.go multi: replace ioutil.Discard 2024-04-25 11:23:54 +02:00