lnrpc: add num_zombie_chans to NetworkInfo response

This commit is contained in:
Conner Fromknecht 2019-07-15 16:48:59 -07:00
parent 616750184e
commit 4b70d6b987
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7
3 changed files with 522 additions and 504 deletions

File diff suppressed because it is too large Load Diff

@ -1869,6 +1869,9 @@ message NetworkInfo {
int64 max_channel_size = 9 [json_name = "max_channel_size"];
int64 median_channel_size_sat = 10 [json_name = "median_channel_size_sat"];
// The number of edges marked as zombies.
uint64 num_zombie_chans = 11 [json_name = "num_zombie_chans"];
// TODO(roasbeef): fee rate info, expiry
// * also additional RPC for tracking fee info once in
}

@ -2633,6 +2633,11 @@
"median_channel_size_sat": {
"type": "string",
"format": "int64"
},
"num_zombie_chans": {
"type": "string",
"format": "uint64",
"description": "The number of edges marked as zombies."
}
}
},