looprpc: exclude peers for easy autoloop

This commit is contained in:
Slyghtning 2025-10-08 16:46:49 +02:00
parent 62419ab17d
commit ea21d8d8f2
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
3 changed files with 694 additions and 664 deletions

File diff suppressed because it is too large Load diff

View file

@ -1280,6 +1280,13 @@ message LiquidityParameters {
* not be able to be batched with other swaps.
*/
bool fast_swap_publication = 26;
/*
A list of peers (their public keys) that should be excluded from the easy
autoloop run. If set, channels connected to these peers won't be
considered for easy autoloop swaps.
*/
repeated bytes easy_autoloop_excluded_peers = 27;
}
message EasyAssetAutoloopParams {

View file

@ -1787,6 +1787,14 @@
"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."
},
"easy_autoloop_excluded_peers": {
"type": "array",
"items": {
"type": "string",
"format": "byte"
},
"description": "A list of peers (their public keys) that should be excluded from the easy\nautoloop run. If set, channels connected to these peers won't be\nconsidered for easy autoloop swaps."
}
}
},