loop/staticaddr/loopin
Slyghtning 4a6ccd3d29
loopin: fix data race on activeLoopIns map during recovery
recoverLoopIns wrote to the activeLoopIns map from inside a goroutine
without any synchronization. The map is shared state accessed from
the manager's main Run loop, creating a data race.

Move the map write before the goroutine spawn so it happens
synchronously during recovery. Also fix the stale log message that
said "OnStart" instead of "OnRecover".
2026-03-09 08:37:49 +01:00
..
actions.go loopin: exit htlc timeout sweep retry loop on context cancellation 2026-03-09 08:37:49 +01:00
actions_test.go staticaddr: add unit test for HTLC re-registration 2025-12-17 09:21:51 +01:00
deduce_amount_test.go staticaddr: arbitrary loop-in amount 2025-09-25 11:13:34 +02:00
deposit_swaphash_migration.go staticaddr: migrate swap hashes to deposits 2025-08-01 11:26:32 +02:00
deposit_swaphash_migration_test.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
fsm.go staticaddr: remove unused fsm transition 2025-08-01 11:26:33 +02:00
interface.go loopin: add loop-in constants to filter expired deposits 2025-10-08 11:38:37 +02:00
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
loopin.go loopin: enforce HTLC output index invariant in sweep tx construction 2026-03-09 08:37:48 +01:00
loopin_test.go loopin: enforce HTLC output index invariant in sweep tx construction 2026-03-09 08:37:48 +01:00
manager.go loopin: fix data race on activeLoopIns map during recovery 2026-03-09 08:37:49 +01:00
manager_test.go staticaddr: exclude close-to-expiry depositis from SelectDeposits 2025-10-08 16:24:46 +02:00
selected_amount_migration.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
selected_amount_migration_test.go staticaddr: selected swap amount migration 2025-09-25 11:13:35 +02:00
sql_store.go staticaddr: fast-flag support 2025-10-07 08:53:39 +02:00
sql_store_test.go staticaddr: fetch deposits as part of swap retrieval 2025-08-01 11:26:33 +02:00