removed pubkey pow and bug fixes

This commit is contained in:
Kevin Froman 2018-11-03 00:06:04 -05:00
parent f270d3c522
commit a31a0fd264
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
3 changed files with 2 additions and 26 deletions

View file

@ -683,13 +683,10 @@ class Onionr:
# define stats messages here
totalBlocks = len(Block.getBlocks())
signedBlocks = len(Block.getBlocks(signed = True))
powToken = self.onionrCore._crypto.pubKeyPowToken
messages = {
# info about local client
'Onionr Daemon Status' : ((logger.colors.fg.green + 'Online') if self.onionrUtils.isCommunicatorRunning(timeout = 9) else logger.colors.fg.red + 'Offline'),
'Public Key' : self.onionrCore._crypto.pubKey,
'POW Token' : powToken,
'Combined' : self.onionrCore._crypto.pubKey + '-' + powToken,
'Human readable public key' : self.onionrCore._utils.getHumanReadableID(),
'Node Address' : self.get_hostname(),