lnwire+channeldb: parse inbound fees
In this commit, the tlv extension of a channel update message is parsed. If an inbound fee schedule is encountered, it is reported in the graph rpc calls.
This commit is contained in:
1 parent
1d61de28c0
commit
3e6adbf1c0
9 files changed
+1561
-1396
No files matched your search
@@ -217,6 +217,14 @@
|
||||
"format": "byte"
|
||||
},
|
||||
"description": "Custom channel update tlv records."
|
||||
},
|
||||
"inbound_fee_base_msat": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"inbound_fee_rate_milli_msat": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+1419
-1395
File diff suppressed because it is too large.
Load diff
@@ -3330,6 +3330,9 @@ message RoutingPolicy {
|
||||
|
||||
// Custom channel update tlv records.
|
||||
map<uint64, bytes> custom_records = 8;
|
||||
|
||||
int32 inbound_fee_base_msat = 9;
|
||||
int32 inbound_fee_rate_milli_msat = 10;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -6840,6 +6840,14 @@
|
||||
"format": "byte"
|
||||
},
|
||||
"description": "Custom channel update tlv records."
|
||||
},
|
||||
"inbound_fee_base_msat": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"inbound_fee_rate_milli_msat": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user