From 511731f0b46aaa3a94591a672e44deef525a6637 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 10 Mar 2018 02:04:14 +0100 Subject: [PATCH] Add current timestamp to handshake for future time consensus feature --- src/Connection/Connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Connection/Connection.py b/src/Connection/Connection.py index 6329892d..13f5bfa4 100644 --- a/src/Connection/Connection.py +++ b/src/Connection/Connection.py @@ -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