diff options
| author | Gavin Andresen <[email protected]> | 2011-09-02 12:56:10 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-09-02 12:56:10 -0400 |
| commit | ec74e8a44338202bfb82faa2cef4611cc37e7fa5 (patch) | |
| tree | a24f2e4858eb5a48014afedcd66613e7377fc7c0 /src | |
| parent | Stay connected to seed nodes; disconnecting causes problems if you are trying... (diff) | |
| download | discoin-ec74e8a44338202bfb82faa2cef4611cc37e7fa5.tar.xz discoin-ec74e8a44338202bfb82faa2cef4611cc37e7fa5.zip | |
Versions 0.3.20 THROUGH 0.3.23 have trouble with blockchain downloads; avoid them
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7230906e2..cbcfef041 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1823,7 +1823,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) // Ask the first connected node for block updates 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++; pfrom->PushGetBlocks(pindexBest, uint256(0)); |