lnrpc: add htlc index to ListChannels pending htlcs

This commit is contained in:
Joost Jager committed 2020-10-14 17:44:22 +02:00
1 parent d26001a69a
commit d13b813dbb
4 files changed
+783 -764

No files matched your search

+774 -764
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -1006,6 +1006,9 @@ message HTLC {
int64 amount = 2;
bytes hash_lock = 3;
uint32 expiration_height = 4;
// Index identifying the htlc on the channel.
uint64 htlc_index = 5;
}
enum CommitmentType {
+5
View File
@@ -3813,6 +3813,11 @@
"expiration_height": {
"type": "integer",
"format": "int64"
},
"htlc_index": {
"type": "string",
"format": "uint64",
"description": "Index identifying the htlc on the channel."
}
}
},