loop/staticaddr/loopin
Slyghtning 0b295123e7
staticaddr: remove dead code across managers
Remove unused errChan fields from the loopin, openchannel, and withdraw
managers. These channels were declared and initialized but never read
from or written to.

Remove the unused activeLoopIns map from the loopin manager. The map
was only written to but never read, making it dead code.

Remove the stale withdraw.Store interface whose method signatures no
longer match the concrete SqlStore API used by the manager.

Remove unused config fields from openchannel.Config (Server,
AddressManager, ChainNotifier, Signer) and deposit.ManagerConfig
(AddressClient, SwapClient, ChainParams) along with their daemon
wiring. Also remove the now-orphaned openchannel.AddressManager
interface.

Remove the unused GetStaticAddress and Close methods from
address.SqlStore and the GetStaticAddress method from the address.Store
interface, as the codebase only uses GetAllStaticAddresses.
2026-03-09 14:39:44 +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 godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +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 staticaddr: remove dead code across managers 2026-03-09 14:39:44 +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