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
|
|
@ -371,7 +371,7 @@ The following flags are supported:
|
|||
| `--minamt="…"` | the minimum amount in satoshis that the autoloop client will dispatch per-swap | uint | `0` |
|
||||
| `--maxamt="…"` | the maximum amount in satoshis that the autoloop client will dispatch per-swap | uint | `0` |
|
||||
| `--htlc_conf="…"` | the confirmation target for loop in on-chain htlcs | int | `0` |
|
||||
| `--loopinsource="…"` | the loop-in source to use for autoloop rules: wallet or static-address | string |
|
||||
| `--loopinsource="…"` | the loop-in source to use for autoloop rules: wallet or static-address. Static-address requires loopd --experimental | string |
|
||||
| `--easyautoloop` | set to true to enable easy autoloop, which will automatically dispatch swaps in order to meet the target local balance | bool | `false` |
|
||||
| `--localbalancesat="…"` | the target size of total local balance in satoshis, used by easy autoloop | uint | `0` |
|
||||
| `--easyautoloop_excludepeer="…"` | list of peer pubkeys (hex) to exclude from easy autoloop channel selection; repeat --easyautoloop_excludepeer for multiple peers | string | `[]` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue