aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/p2p_protocol_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-05 12:27:57 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-01-29 14:39:58 +0000
commit4771a7aec198421fd6c7875b88f496b6c689ade8 (patch)
tree86204c0083c73786de74143bbf509d342fde9a81 /src/p2p/p2p_protocol_defs.h
parentp2p: avoid sending the same peer list over and over (diff)
downloadmonero-4771a7aec198421fd6c7875b88f496b6c689ade8.tar.xz
p2p: remove obsolete local time in handshake
Also removes a potential fingerprinting vector
Diffstat (limited to '')
-rw-r--r--src/p2p/p2p_protocol_defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/p2p/p2p_protocol_defs.h b/src/p2p/p2p_protocol_defs.h
index 3684c317a..53defe9bd 100644
--- a/src/p2p/p2p_protocol_defs.h
+++ b/src/p2p/p2p_protocol_defs.h
@@ -165,7 +165,6 @@ namespace nodetool
struct basic_node_data
{
uuid network_id;
- uint64_t local_time;
uint32_t my_port;
uint16_t rpc_port;
uint32_t rpc_credits_per_hash;
@@ -174,7 +173,6 @@ namespace nodetool
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE_VAL_POD_AS_BLOB(network_id)
KV_SERIALIZE(peer_id)
- KV_SERIALIZE(local_time)
KV_SERIALIZE(my_port)
KV_SERIALIZE_OPT(rpc_port, (uint16_t)(0))
KV_SERIALIZE_OPT(rpc_credits_per_hash, (uint32_t)0)