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).
This commit is contained in:
moneromooo-monero 2017-09-17 10:26:12 +01:00
parent 7abdba0a5c
commit 7f2f6ee1c9
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 2 additions and 16 deletions

View file

@ -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;