Skip to content

Commit

Permalink
placeholder for logic to ensure archive nodes sync from archive nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
antiochp committed Mar 15, 2021
1 parent e7d66b5 commit 916521a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions servers/src/grin/sync/body_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ impl BodySync {
peers = peers_iter().inbound().into_iter().collect();
}

<<<<<<< HEAD
// If we have no peers (outbound or inbound) then we are done for now.
if peers.is_empty() {
debug!("no peers (inbound or outbound) with more work");
Expand All @@ -125,13 +124,6 @@ impl BodySync {

peers
};
=======
// If we have no peers (outbound or inbound) then we are done for now.
if peers.is_empty() {
debug!("no peers (inbound or outbound) with more work");
return Ok(false);
}
>>>>>>> 667624c0 (allow chain compaction during sync)

// if we have 5 peers to sync from then ask for 50 blocks total (peer_count *
// 10) max will be 80 if all 8 peers are advertising more work
Expand Down

0 comments on commit 916521a

Please sign in to comment.