lnrpc: channel fee parameters for OpenChannelRequest

This commit is contained in:
Slyghtning committed 2022-09-28 09:28:11 -04:00
1 parent b8545de5c0
commit 021cb07b39
3 files changed
+1973 -1877

No files matched your search

+27
View File
@@ -2190,6 +2190,33 @@ message OpenChannelRequest {
attempted.
*/
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 {
oneof update {