From 7f2f6ee1c974d7d4cd58fae257f072f7d8d77e43 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 17 Sep 2017 10:26:12 +0100 Subject: protocol: remove hop count on block propagation It is unused, as it was apparently a future optimization, and it leaks some information (though since pools publish thei blocks they find, that amount seems small). --- src/cryptonote_core/cryptonote_core.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cryptonote_core/cryptonote_core.cpp') diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index c3aeb15f0..79777bd0f 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -1035,7 +1035,6 @@ namespace cryptonote { cryptonote_connection_context exclude_context = boost::value_initialized(); NOTIFY_NEW_BLOCK::request arg = AUTO_VAL_INIT(arg); - arg.hop = 0; arg.current_blockchain_height = m_blockchain_storage.get_current_blockchain_height(); std::list missed_txs; std::list txs; -- cgit v1.2.3