+ added hit count stat
- removed bypass_tor_check as defunct config option * actually fixed connect stat in cli for real this time * improved ui stats more
This commit is contained in:
parent
3825d3857c
commit
ce2095d7f8
10 changed files with 36 additions and 24 deletions
|
@ -39,7 +39,7 @@ def show_stats(o_inst):
|
|||
|
||||
# count stats
|
||||
'div2' : True,
|
||||
'Known Peers' : str(len(o_inst.onionrCore.listPeers())),
|
||||
'Known Peers' : str(max(len(o_inst.onionrCore.listPeers()) - 1, 0)),
|
||||
'Enabled Plugins' : str(len(o_inst.onionrCore.config.get('plugins.enabled', list()))) + ' / ' + str(len(os.listdir(o_inst.dataDir + 'plugins/'))),
|
||||
'Stored Blocks' : str(totalBlocks),
|
||||
'Percent Blocks Signed' : str(round(100 * signedBlocks / max(totalBlocks, 1), 2)) + '%'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue