moved processblocks to communicator and fixed bool error in validatehash
This commit is contained in:
parent
3c692f1060
commit
63b4c88d06
4 changed files with 16 additions and 10 deletions
|
@ -109,6 +109,10 @@ class Onionr:
|
|||
os.remove('.onionr-lock')
|
||||
elif command == 'stop':
|
||||
self.killDaemon()
|
||||
elif command in ('listpeers', 'list-peers'):
|
||||
logger.info('Peer list:\n')
|
||||
for i in self.onionrCore.listPeers():
|
||||
logger.info(i)
|
||||
elif command in ('addmsg', 'addmessage'):
|
||||
while True:
|
||||
messageToAdd = input('Broadcast message to network: ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue