Log also nonce when processing the version message
This commit is contained in:
parent
331b26dfe9
commit
afd259d031
|
@ -391,8 +391,9 @@ class ConnectionBase(threading.Thread):
|
||||||
else:
|
else:
|
||||||
shared.nonce_pool[self.host] = version.nonce
|
shared.nonce_pool[self.host] = version.nonce
|
||||||
logging.info(
|
logging.info(
|
||||||
'%s:%s claims to be %s',
|
'%s:%s claims to be %s (%s)',
|
||||||
self.host_print, self.port, version.user_agent)
|
self.host_print, self.port, version.user_agent,
|
||||||
|
base64.b16encode(version.nonce))
|
||||||
self.send_queue.put(message.Message(b'verack', b''))
|
self.send_queue.put(message.Message(b'verack', b''))
|
||||||
self.verack_sent = True
|
self.verack_sent = True
|
||||||
self.remote_version = version
|
self.remote_version = version
|
||||||
|
|
Loading…
Reference in New Issue
Block a user