lnrpc: add field denoting if channel peer is online in ListChannels

This commit adds a new field to the ListChannels RPC command which
indicates if the peer is currently online or not. This is useful as
UI’s will be able to use this information to communicate the
availability of each channel to an end user.
This commit is contained in:
Olaoluwa Osuntokun committed 2017-03-08 14:46:24 -08:00
1 parent addab3273f
commit 1dfda91415
4 files changed
+268 -248

No files matched your search

+4
View File
@@ -611,6 +611,10 @@
"lnrpcActiveChannel": {
"type": "object",
"properties": {
"active": {
"type": "boolean",
"format": "boolean"
},
"remote_pubkey": {
"type": "string"
},