routing+lnrpc: add inbound fee policy update
This commit is contained in:
1 parent
e8c97deaef
commit
763787e08c
7 files changed
+983
-838
No files matched your search
+882
-835
File diff suppressed because it is too large.
Load diff
@@ -4312,7 +4312,15 @@ message ChannelFeeReport {
|
||||
// The effective fee rate in milli-satoshis. Computed by dividing the
|
||||
// fee_per_mil value by 1 million.
|
||||
double fee_rate = 4;
|
||||
|
||||
// The base fee charged regardless of the number of milli-satoshis sent.
|
||||
int32 inbound_base_fee_msat = 6;
|
||||
|
||||
// The amount charged per milli-satoshis transferred expressed in
|
||||
// millionths of a satoshi.
|
||||
int32 inbound_fee_per_mil = 7;
|
||||
}
|
||||
|
||||
message FeeReportResponse {
|
||||
// An array of channel fee reports which describes the current fee schedule
|
||||
// for each channel.
|
||||
@@ -4363,7 +4371,11 @@ message PolicyUpdateRequest {
|
||||
|
||||
// If true, min_htlc_msat is applied.
|
||||
bool min_htlc_msat_specified = 8;
|
||||
|
||||
int32 inbound_base_fee_msat = 10;
|
||||
int32 inbound_fee_rate_ppm = 11;
|
||||
}
|
||||
|
||||
enum UpdateFailure {
|
||||
UPDATE_FAILURE_UNKNOWN = 0;
|
||||
UPDATE_FAILURE_PENDING = 1;
|
||||
|
||||
@@ -4238,6 +4238,16 @@
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": "The effective fee rate in milli-satoshis. Computed by dividing the\nfee_per_mil value by 1 million."
|
||||
},
|
||||
"inbound_base_fee_msat": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The base fee charged regardless of the number of milli-satoshis sent."
|
||||
},
|
||||
"inbound_fee_per_mil": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The amount charged per milli-satoshis transferred expressed in\nmillionths of a satoshi."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -6536,6 +6546,14 @@
|
||||
"min_htlc_msat_specified": {
|
||||
"type": "boolean",
|
||||
"description": "If true, min_htlc_msat is applied."
|
||||
},
|
||||
"inbound_base_fee_msat": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"inbound_fee_rate_ppm": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user