From 950d87fd78020c05d10054e4f76598dd9c5a3d8c Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 26 Dec 2016 23:43:04 -0600 Subject: [PATCH] lnrpc: add the network channel ID to the ListChannels RPC response --- lnrpc/rpc.proto | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index d5cdbe781..e49fdce2a 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -215,18 +215,18 @@ message HTLC { message ActiveChannel { string remote_pubkey = 1; string channel_point = 2; + uint64 chan_id = 3; - int64 capacity = 3; - int64 local_balance = 4; - int64 remote_balance = 5; + int64 capacity = 4; + int64 local_balance = 5; + int64 remote_balance = 6; - int64 unsettled_balance = 6; - int64 total_satoshis_sent = 7; - int64 total_satoshis_received = 8; - uint64 num_updates = 9; + int64 unsettled_balance = 7; + int64 total_satoshis_sent = 8; + int64 total_satoshis_received = 9; + uint64 num_updates = 10; - repeated HTLC pending_htlcs = 10; - // TODO(roasbeef): other stuffs + repeated HTLC pending_htlcs = 11; } message ListChannelsRequest {}