git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b53e277
)
Versions 0.3.20 THROUGH 0.3.23 have trouble with blockchain downloads; avoid them
author
Gavin Andresen
<gavinandresen@gmail.com>
Fri, 2 Sep 2011 16:56:10 +0000 (12:56 -0400)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Fri, 2 Sep 2011 16:56:10 +0000 (12:56 -0400)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
7230906
..
cbcfef0
100644
(file)
--- 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));