mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: extend liquidity params with fast publication
This commit is contained in:
parent
7fb745954b
commit
565acbb83f
3 changed files with 631 additions and 604 deletions
1223
looprpc/client.pb.go
1223
looprpc/client.pb.go
File diff suppressed because it is too large
Load diff
|
|
@ -1227,6 +1227,14 @@ message LiquidityParameters {
|
|||
value is the parameters to use for swaps in that asset.
|
||||
*/
|
||||
map<string, EasyAssetAutoloopParams> easy_asset_params = 25;
|
||||
|
||||
/*
|
||||
* Set to true to enable fast swap publication. If set, the server will
|
||||
* publish the HTLC immediately after receiving the swap request. This
|
||||
* setting has direct implications on the swap fees, as fast swaps may
|
||||
* not be able to be batched with other swaps.
|
||||
*/
|
||||
bool fast_swap_publication = 26;
|
||||
}
|
||||
|
||||
message EasyAssetAutoloopParams {
|
||||
|
|
|
|||
|
|
@ -1296,6 +1296,10 @@
|
|||
"$ref": "#/definitions/looprpcEasyAssetAutoloopParams"
|
||||
},
|
||||
"description": "A map of asset parameters to use for swaps. The key is the asset id and the\nvalue is the parameters to use for swaps in that asset."
|
||||
},
|
||||
"fast_swap_publication": {
|
||||
"type": "boolean",
|
||||
"description": "Set to true to enable fast swap publication. If set, the server will\npublish the HTLC immediately after receiving the swap request. This\nsetting has direct implications on the swap fees, as fast swaps may\nnot be able to be batched with other swaps."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue