loop/liquidity
Boris Nagaev 7fcc508193
liquidity: gate static autoloop
Static-address loop-ins in autoloop are still experimental. Reject
loop_in_source=static-address at the RPC boundary unless loopd was started
with --experimental, and pass the same opt-in into the liquidity manager so
persisted params cannot bypass the gate after restart.

The existing static swap accounting remains wired through the manager; the
gate only controls accepting and planning new static-address autoloops.
2026-05-22 02:32:15 -05:00
..
autoloop_test.go liquidity: default to slow swaps for autloop 2025-04-29 18:56:49 +02:00
autoloop_testcontext_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
balances.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
easy_autoloop_exclusions_test.go liquidity: count static loop-ins 2026-05-22 02:20:36 -05:00
fees.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
interface.go liquidity: add asset swap info to swap builder 2025-03-25 11:15:41 +01:00
liquidity.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
liquidity_test.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
loopin.go gomod: bump lnd to version 0.18.0-beta 2024-05-31 09:39:20 +02:00
loopin_builder.go liquidity: add asset swap info to swap builder 2025-03-25 11:15:41 +01:00
loopin_builder_test.go liquidity: add asset swap info to swap builder 2025-03-25 11:15:41 +01:00
loopin_source.go looprpc: add autoloop loop-in source 2026-05-22 02:20:36 -05:00
loopout.go liquidity: exclude prepay from total swap fees 2023-04-12 19:02:13 +03:00
loopout_builder.go liquidity: default to slow swaps for autloop 2025-04-29 18:56:49 +02:00
mock.go multi: add loop in swap builder implementation 2021-12-15 09:01:20 +02:00
parameters.go looprpc: add autoloop loop-in source 2026-05-22 02:20:36 -05:00
parameters_test.go multi: update linter, fix issues 2025-03-10 22:59:50 +01:00
reasons.go looprpc: map custom channel reason 2026-05-22 02:20:36 -05:00
restrictions.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
static_loopin.go liquidity: add static autoloop planner 2026-05-22 02:20:36 -05:00
static_loopin_test.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
threshold_rule.go multi: update linter, fix issues 2023-10-03 19:36:40 +02:00
threshold_rule_test.go multi: update linter, fix issues 2025-03-10 22:59:50 +01:00