looprpc: extend liquidity params with fast publication

This commit is contained in:
Andras Banki-Horvath 2025-04-29 17:49:11 +02:00
parent 7fb745954b
commit 565acbb83f
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
3 changed files with 631 additions and 604 deletions

File diff suppressed because it is too large Load diff

View file

@ -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 {

View file

@ -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."
}
}
},