lnrpc: expose forwarding channel for htlcs in ListChannels

This commit is contained in:
Joost Jager committed 2020-10-16 09:03:24 +02:00
1 parent d13b813dbb
commit 49df2d6f8b
6 files changed
+878 -775

No files matched your search

+12
View File
@@ -1009,6 +1009,18 @@ message HTLC {
// Index identifying the htlc on the channel.
uint64 htlc_index = 5;
// If this HTLC is involved in a forwarding operation, this field indicates
// the forwarding channel. For an outgoing htlc, it is the incoming channel.
// For an incoming htlc, it is the outgoing channel. When the htlc
// originates from this node or this node is the final destination,
// forwarding_channel will be zero. The forwarding channel will also be zero
// for htlcs that need to be forwarded but don't have a forwarding decision
// persisted yet.
uint64 forwarding_channel = 6;
// Index identifying the htlc on the forwarding channel.
uint64 forwarding_htlc_index = 7;
}
enum CommitmentType {