loop/loopd
Slyghtning 30a14ecc82
staticaddr: apply confirmation policy by flow
Allow static loop-ins to select unconfirmed deposits because their CSV timeout
has not started yet, while still preferring confirmed outputs during automatic
selection.

Keep confirmed-input requirements for channel opens and withdrawals now that
Deposited includes mempool outputs. Filter unconfirmed deposits out of automatic
selection for those flows and fail manual requests that reference them, so the
client does not build PSBTs or withdrawal attempts with unusable inputs.

Treat deposit.MinConfs as the legacy readiness threshold rather than the single
source of truth for all flows. Loop-in readiness is now governed by server
confirmation-risk policy, while withdrawals and channel opens keep their
confirmed-input checks.
2026-06-01 10:46:50 +02:00
..
config.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
daemon.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
daemon_test.go loopd: test error reporting logic 2025-12-20 06:31:02 +01:00
htlc_confirmed_recovery.go loopd: recover confirmed htlcs with direct sweep 2026-05-29 23:00:29 -05:00
htlc_confirmed_recovery_test.go loopd: recover confirmed htlcs with direct sweep 2026-05-29 23:00:29 -05:00
log.go loopd: add missing debugf logging helper 2026-05-29 23:00:29 -05:00
macaroons.go loopd: move RequiredPermissions to dedicated dir 2022-06-14 15:13:34 +02:00
migration.go loopd: fix data races of logger 2025-03-19 15:00:30 +01:00
register_default.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
run.go loopd: wait for chain notifier 2025-11-16 00:26:02 -03:00
swapclient_server.go staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
swapclient_server_debug.go make fmt 2022-05-20 10:16:47 +02:00
swapclient_server_deposit_test.go staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
swapclient_server_staticaddr_test.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
swapclient_server_test.go staticaddr: track unconfirmed deposits 2026-06-01 10:45:58 +02:00
sweep_htlc.go loopd: prefer stored destination in sweephtlc 2026-05-29 23:00:29 -05:00
sweep_htlc_test.go loopd: prefer stored destination in sweephtlc 2026-05-29 23:00:29 -05:00
utils.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
view.go multi: update linter, fix issues 2025-03-10 22:59:50 +01:00