Skip to content
Snippets Groups Projects

Strategies for the send protocol

Merged DISSOUBRAY Nathan requested to merge send_strategy into master
+ 1
1
@@ -1533,7 +1533,7 @@ where {
accepted_peers.remove(index); //using swap_remove would mess up the order and doesn't ensure all peers get an equivalent number of blocks
match accepted_peers_index.checked_sub(1) {
Some(res) => *accepted_peers_index = res,
None => {},
None => {}
};
} else {
debug!(
Loading