Add current timestamp to handshake for future time consensus feature

This commit is contained in:
shortcutme 2018-03-10 02:04:14 +01:00
parent ad23021b29
commit 511731f0b4
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -309,7 +309,8 @@ class Connection(object):
"target_ip": self.ip,
"rev": config.rev,
"crypt_supported": crypt_supported,
"crypt": self.crypt
"crypt": self.crypt,
"time": time.time()
}
if self.target_onion:
handshake["onion"] = self.target_onion