Add allRelaysActive output to network info

This commit is contained in:
2022-08-14 10:58:28 +01:00
parent ed1f3cdca7
commit 6cc07c9171
3 changed files with 14 additions and 1 deletions

View File

@@ -187,6 +187,7 @@ class API(object):
networks = {}
for net in main.network.keys():
networks[net] = {
"active": chankeep.allRelaysActive(net),
"relays": len(main.network[net].relays),
"channels": userinfo.getTotalChanNum(net),
"records": userinfo.getNumWhoEntries(net),