Merge pull request #6956 from ellemouton/configureChanReserve

multi: configurable remote chan reserve
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-10-13 15:39:40 +02:00
commit d2d3cf3408
9 files changed
+2212 -2034

No files matched your search

+1898 -1884
View File
File diff suppressed because it is too large. Load diff
+7
View File
@@ -2217,6 +2217,13 @@ message OpenChannelRequest {
to use the default fee rate value specified in the config or 0.
*/
bool use_fee_rate = 24;
/*
The number of satoshis we require the remote peer to reserve. This value,
if specified, must be above the dust limit and below 20% of the channel
capacity.
*/
uint64 remote_chan_reserve_sat = 25;
}
message OpenStatusUpdate {
oneof update {
+5
View File
@@ -5679,6 +5679,11 @@
"use_fee_rate": {
"type": "boolean",
"description": "If use_fee_rate is true the open channel announcement will update the\nchannel fee rate with the value specified in fee_rate. In the case of\na fee_rate of 0 use_fee_rate is needed downstream to distinguish whether\nto use the default fee rate value specified in the config or 0."
},
"remote_chan_reserve_sat": {
"type": "string",
"format": "uint64",
"description": "The number of satoshis we require the remote peer to reserve. This value,\nif specified, must be above the dust limit and below 20% of the channel\ncapacity."
}
}
},