lnrpc: added rpc support for querying a channel's satoshis sent/received

Added total_satoshis_sent and total_satoshis_received fields to the
ListChannels RPC call.
This commit is contained in:
bryanvu authored and Olaoluwa Osuntokun committed 2016-11-22 14:57:03 -06:00
1 parent faf9daddf6
commit 2bf5794645
5 files changed
+280 -218

No files matched your search

+5 -3
View File
@@ -209,15 +209,17 @@ message ActiveChannel {
int64 remote_balance = 5;
int64 unsettled_balance = 6;
repeated HTLC pending_htlcs = 7;
int64 total_satoshis_sent = 7;
int64 total_satoshis_received = 8;
uint64 num_updates = 9;
uint64 num_updates = 8;
repeated HTLC pending_htlcs = 10;
// TODO(roasbeef): other stuffs
}
message ListChannelsRequest {}
message ListChannelsResponse {
repeated ActiveChannel channels = 9;
repeated ActiveChannel channels = 11;
}
message Peer {