mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
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.
This commit is contained in:
parent
8d6df2bf20
commit
7fcc508193
11 changed files with 88 additions and 6 deletions
|
|
@ -343,7 +343,8 @@ var setParamsCommand = &cli.Command{
|
|||
&cli.StringFlag{
|
||||
Name: "loopinsource",
|
||||
Usage: "the loop-in source to use for autoloop rules: " +
|
||||
"wallet or static-address.",
|
||||
"wallet or static-address. Static-address " +
|
||||
"requires loopd --experimental.",
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "easyautoloop",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue