mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
lnrpc: add Initiator field to ListChannels resposne
This commit is contained in:
parent
509bed614c
commit
5d0a371a7d
3 changed files with 546 additions and 528 deletions
1062
lnrpc/rpc.pb.go
1062
lnrpc/rpc.pb.go
File diff suppressed because it is too large
Load diff
|
@ -1010,8 +1010,11 @@ message Channel {
|
|||
*/
|
||||
uint32 csv_delay = 16 [json_name = "csv_delay"];
|
||||
|
||||
/// Whether this channel is advertised to the network or not
|
||||
/// Whether this channel is advertised to the network or not.
|
||||
bool private = 17 [json_name = "private"];
|
||||
|
||||
/// True if we were the ones that creted the channel.
|
||||
bool initiator = 18 [json_name = "initiator"];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1401,7 +1401,12 @@
|
|||
"private": {
|
||||
"type": "boolean",
|
||||
"format": "boolean",
|
||||
"title": "/ Whether this channel is advertised to the network or not"
|
||||
"description": "/ Whether this channel is advertised to the network or not."
|
||||
},
|
||||
"initiator": {
|
||||
"type": "boolean",
|
||||
"format": "boolean",
|
||||
"description": "/ True if we were the ones that creted the channel."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue