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:
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user