lnd+lnrpc: add msat forwarding amount fields to ForwardingHistory

This commit is contained in:
bitromortac committed 2019-10-16 19:50:58 +02:00
1 parent 93247d0304
commit 3af91fc9b9
4 files changed
+581 -542

No files matched your search

+553 -533
View File
File diff suppressed because it is too large. Load diff
+7
View File
@@ -2498,6 +2498,13 @@ message ForwardingEvent {
/// The total fee (in milli-satoshis) that this payment circuit carried.
uint64 fee_msat = 8 [json_name = "fee_msat"];
/// The total amount (in milli-satoshis) of the incoming HTLC that created half the circuit.
uint64 amt_in_msat = 9 [json_name = "amt_in_msat"];
/// The total amount (in milli-satoshis) of the outgoing HTLC that created the second half of the circuit.
uint64 amt_out_msat = 10 [json_name = "amt_out_msat"];
// TODO(roasbeef): add settlement latency?
// * use FPE on the chan id?
// * also list failures?
+10
View File
@@ -2163,6 +2163,16 @@
"type": "string",
"format": "uint64",
"description": "/ The total fee (in milli-satoshis) that this payment circuit carried."
},
"amt_in_msat": {
"type": "string",
"format": "uint64",
"description": "/ The total amount (in milli-satoshis) of the incoming HTLC that created half the circuit."
},
"amt_out_msat": {
"type": "string",
"format": "uint64",
"description": "/ The total amount (in milli-satoshis) of the outgoing HTLC that created the second half of the circuit."
}
}
},