WIP: Handle all peers nonces, not only own #5

Draft
lee.miller wants to merge 4 commits from lee.miller/MiNode:network-nonce into v0.3
Showing only changes of commit d4cf657efd - Show all commits

View File

@ -391,8 +391,9 @@ class ConnectionBase(threading.Thread):
else:
shared.nonce_pool[self.host] = version.nonce
logging.info(
'%s:%s claims to be %s',
self.host_print, self.port, version.user_agent)
'%s:%s claims to be %s (%s)',
self.host_print, self.port, version.user_agent,
base64.b16encode(version.nonce))
self.send_queue.put(message.Message(b'verack', b''))
self.verack_sent = True
self.remote_version = version