Add current timestamp to handshake for future time consensus feature
This commit is contained in:
parent
ad23021b29
commit
511731f0b4
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ class Connection(object):
|
||||||
"target_ip": self.ip,
|
"target_ip": self.ip,
|
||||||
"rev": config.rev,
|
"rev": config.rev,
|
||||||
"crypt_supported": crypt_supported,
|
"crypt_supported": crypt_supported,
|
||||||
"crypt": self.crypt
|
"crypt": self.crypt,
|
||||||
|
"time": time.time()
|
||||||
}
|
}
|
||||||
if self.target_onion:
|
if self.target_onion:
|
||||||
handshake["onion"] = self.target_onion
|
handshake["onion"] = self.target_onion
|
||||||
|
|
Loading…
Reference in a new issue