Versions 0.3.20 THROUGH 0.3.23 have trouble with blockchain downloads; avoid them
This commit is contained in:
parent
b53e277ba1
commit
ec74e8a443
1 changed files with 3 additions and 1 deletions
|
@ -1823,7 +1823,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
||||||
|
|
||||||
// Ask the first connected node for block updates
|
// Ask the first connected node for block updates
|
||||||
static int nAskedForBlocks;
|
static int nAskedForBlocks;
|
||||||
if (!pfrom->fClient && pfrom->nVersion != 32300 && (nAskedForBlocks < 1 || vNodes.size() <= 1))
|
if (!pfrom->fClient &&
|
||||||
|
(pfrom->nVersion < 32000 || pfrom->nVersion >= 32400) &&
|
||||||
|
(nAskedForBlocks < 1 || vNodes.size() <= 1))
|
||||||
{
|
{
|
||||||
nAskedForBlocks++;
|
nAskedForBlocks++;
|
||||||
pfrom->PushGetBlocks(pindexBest, uint256(0));
|
pfrom->PushGetBlocks(pindexBest, uint256(0));
|
||||||
|
|
Loading…
Add table
Reference in a new issue