lnrpc: add num_zombie_chans to NetworkInfo response
This commit is contained in:
3 files changed
+522
-504
No files matched your search
+514
-504
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 max_channel_size = 9 [json_name = "max_channel_size"];
|
||||||
int64 median_channel_size_sat = 10 [json_name = "median_channel_size_sat"];
|
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
|
// TODO(roasbeef): fee rate info, expiry
|
||||||
// * also additional RPC for tracking fee info once in
|
// * also additional RPC for tracking fee info once in
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2633,6 +2633,11 @@
|
|||||||
"median_channel_size_sat": {
|
"median_channel_size_sat": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"num_zombie_chans": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "uint64",
|
||||||
|
"description": "The number of edges marked as zombies."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user