mirror of
https://github.com/monero-project/monero.git
synced 2025-08-15 16:50:15 -04:00
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:
parent
7abdba0a5c
commit
7f2f6ee1c9
4 changed files with 2 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue