loop/staticaddr/loopin
Slyghtning 3a1429a6a0
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-05-22 11:22:41 +02:00
..
actions.go Revert "staticaddr: support dynamic deposit confirmation requirements" 2026-03-13 11:18:42 +01:00
actions_test.go staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
autoloop.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
autoloop_dp.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
autoloop_dp_test.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05:00
autoloop_test.go staticaddr: use dp autoloop selector 2026-05-22 02:20:36 -05: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 lint: fix linter issues 2026-03-09 14:39:45 +01:00
interface.go staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
loopin.go liquidity: count static loop-ins 2026-05-22 02:20:36 -05:00
loopin_test.go staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
manager.go staticaddr: apply confirmation policy by flow 2026-05-22 11:22:41 +02:00
manager_test.go staticaddr: apply confirmation policy by flow 2026-05-22 11:22:41 +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 liquidity: count static loop-ins 2026-05-22 02:20:36 -05:00
sql_store_test.go liquidity: count static loop-ins 2026-05-22 02:20:36 -05:00