diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-17 10:26:12 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-17 10:26:12 +0100 |
commit | 7f2f6ee1c974d7d4cd58fae257f072f7d8d77e43 (patch) | |
tree | e9aba1247f49303c90a40ebe0272d7f63980ffd6 /src/cryptonote_core | |
parent | Merge pull request #2438 (diff) | |
download | monero-7f2f6ee1c974d7d4cd58fae257f072f7d8d77e43.tar.xz |
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).
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<cryptonote_connection_context>(); 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<crypto::hash> missed_txs; std::list<cryptonote::blobdata> txs; |