Rebroadcasting directly to reps was causing reps to receive much more traffic than they needed to. This should greatly reduce the amount of traffic received in high-load situations.
This commit is contained in:
parent
f502154a8b
commit
6b9dd6596b
1 changed files with 0 additions and 1 deletions
|
@ -193,7 +193,6 @@ bool confirm_block (MDB_txn * transaction_a, rai::node & node_a, rai::endpoint &
|
|||
|
||||
void rai::network::republish_block (MDB_txn * transaction, std::shared_ptr<rai::block> block)
|
||||
{
|
||||
rebroadcast_reps (block);
|
||||
auto hash (block->hash ());
|
||||
auto list (node.peers.list_sqrt ());
|
||||
// If we're a representative, broadcast a signed confirm, otherwise an unsigned publish
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue