Merge pull request #6956 from ellemouton/configureChanReserve
multi: configurable remote chan reserve
This commit is contained in:
9 files changed
+2212
-2034
No files matched your search
+1898
-1884
File diff suppressed because it is too large.
Load diff
@@ -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 {
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user