diff options
| author | Gavin Andresen <[email protected]> | 2011-09-02 12:00:01 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-09-02 12:00:01 -0400 |
| commit | fb45259967032d409bca4d542b55414a7c522fba (patch) | |
| tree | fa0817d6996759a93c98137c8bfbcf55a6bdc6c8 /src/main.cpp | |
| parent | Give hard-coded seed nodes a random last-seen time, to randomize order they'r... (diff) | |
| download | discoin-fb45259967032d409bca4d542b55414a7c522fba.tar.xz discoin-fb45259967032d409bca4d542b55414a7c522fba.zip | |
Do not try to download blockchain from 0.3.23 nodes
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f68683e24..7230906e2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1823,7 +1823,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) // Ask the first connected node for block updates static int nAskedForBlocks; - if (!pfrom->fClient && (nAskedForBlocks < 1 || vNodes.size() <= 1)) + if (!pfrom->fClient && pfrom->nVersion != 32300 && (nAskedForBlocks < 1 || vNodes.size() <= 1)) { nAskedForBlocks++; pfrom->PushGetBlocks(pindexBest, uint256(0)); |