From 6b9dd6596bd1116a779d8536b373e9b83fb8737d Mon Sep 17 00:00:00 2001 From: clemahieu Date: Sun, 4 Feb 2018 23:38:40 -0600 Subject: [PATCH] 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. --- rai/node/node.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rai/node/node.cpp b/rai/node/node.cpp index b1b52765..3533d7ec 100644 --- a/rai/node/node.cpp +++ b/rai/node/node.cpp @@ -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 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