We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da6ae2 commit ae6f957Copy full SHA for ae6f957
src/main.cpp
@@ -2281,9 +2281,7 @@ bool ActivateBestChain(CValidationState &state, CBlock *pblock) {
2281
int nBlockEstimate = 0;
2282
if (fCheckpointsEnabled)
2283
nBlockEstimate = Checkpoints::GetTotalBlocksEstimate(chainParams.Checkpoints());
2284
- // Don't relay blocks if pruning -- could cause a peer to try to download, resulting
2285
- // in a stalled download if the block file is pruned before the request.
2286
- if (nLocalServices & NODE_NETWORK) {
+ {
2287
LOCK(cs_vNodes);
2288
BOOST_FOREACH(CNode* pnode, vNodes)
2289
if (chainActive.Height() > (pnode->nStartingHeight != -1 ? pnode->nStartingHeight - 2000 : nBlockEstimate))
0 commit comments