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:
4 files changed
+268
-248
No files matched your search
@@ -611,6 +611,10 @@
|
||||
"lnrpcActiveChannel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
"remote_pubkey": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user