* phrase security.md better
* display correct number of peers in stats * hopefully fix sigpipe issue
This commit is contained in:
parent
901b275d40
commit
8a9a5abe2e
4 changed files with 10 additions and 5 deletions
|
@ -39,7 +39,7 @@ def show_stats(o_inst):
|
|||
|
||||
# count stats
|
||||
'div2' : True,
|
||||
'Known Peers' : str(len(o_inst.onionrCore.listPeers()) - 1),
|
||||
'Known Peers' : str(len(o_inst.onionrCore.listPeers())),
|
||||
'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