lnrpc: channel fee parameters for OpenChannelRequest
This commit is contained in:
1 parent
b8545de5c0
commit
021cb07b39
3 files changed
+1973
-1877
No files matched your search
+1928
-1877
File diff suppressed because it is too large.
Load diff
@@ -2190,6 +2190,33 @@ message OpenChannelRequest {
|
|||||||
attempted.
|
attempted.
|
||||||
*/
|
*/
|
||||||
bool scid_alias = 20;
|
bool scid_alias = 20;
|
||||||
|
|
||||||
|
/*
|
||||||
|
The base fee charged regardless of the number of milli-satoshis sent.
|
||||||
|
*/
|
||||||
|
uint64 base_fee = 21;
|
||||||
|
|
||||||
|
/*
|
||||||
|
The fee rate in ppm (parts per million) that will be charged in
|
||||||
|
proportion of the value of each forwarded HTLC.
|
||||||
|
*/
|
||||||
|
uint64 fee_rate = 22;
|
||||||
|
|
||||||
|
/*
|
||||||
|
If use_base_fee is true the open channel announcement will update the
|
||||||
|
channel base fee with the value specified in base_fee. In the case of
|
||||||
|
a base_fee of 0 use_base_fee is needed downstream to distinguish whether
|
||||||
|
to use the default base fee value specified in the config or 0.
|
||||||
|
*/
|
||||||
|
bool use_base_fee = 23;
|
||||||
|
|
||||||
|
/*
|
||||||
|
If use_fee_rate is true the open channel announcement will update the
|
||||||
|
channel fee rate with the value specified in fee_rate. In the case of
|
||||||
|
a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether
|
||||||
|
to use the default fee rate value specified in the config or 0.
|
||||||
|
*/
|
||||||
|
bool use_fee_rate = 24;
|
||||||
}
|
}
|
||||||
message OpenStatusUpdate {
|
message OpenStatusUpdate {
|
||||||
oneof update {
|
oneof update {
|
||||||
|
|||||||
@@ -5661,6 +5661,24 @@
|
|||||||
"scid_alias": {
|
"scid_alias": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "If this is true, then an option-scid-alias channel-type open will be\nattempted."
|
"description": "If this is true, then an option-scid-alias channel-type open will be\nattempted."
|
||||||
|
},
|
||||||
|
"base_fee": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "uint64",
|
||||||
|
"description": "The base fee charged regardless of the number of milli-satoshis sent."
|
||||||
|
},
|
||||||
|
"fee_rate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "uint64",
|
||||||
|
"description": "The fee rate in ppm (parts per million) that will be charged in\nproportion of the value of each forwarded HTLC."
|
||||||
|
},
|
||||||
|
"use_base_fee": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "If use_base_fee is true the open channel announcement will update the\nchannel base fee with the value specified in base_fee. In the case of\na base_fee of 0 use_base_fee is needed downstream to distinguish whether\nto use the default base fee value specified in the config or 0."
|
||||||
|
},
|
||||||
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user