diff options
| author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-21 21:42:01 +0000 |
|---|---|---|
| committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-21 21:42:01 +0000 |
| commit | ee618d7540107aef543a0b252509b3005a15409c (patch) | |
| tree | 8a05089b72f6146e36dd22f3fc31b4e41a77fff7 /main.cpp | |
| parent | Address Book with tabs instead of separate Your Address book, (diff) | |
| download | discoin-ee618d7540107aef543a0b252509b3005a15409c.tar.xz discoin-ee618d7540107aef543a0b252509b3005a15409c.zip | |
transaction filter tabs instead of view->show generated
-- version 0.2.5
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1335,7 +1335,9 @@ bool CBlock::AcceptBlock() if (!AddToBlockIndex(nFile, nBlockPos))
return error("AcceptBlock() : AddToBlockIndex failed");
- if (hashBestChain == hash && nBestHeight > 28000)
+ // Don't relay old inventory during initial block download.
+ // Please keep this constant updated to a few thousand below current block count.
+ if (hashBestChain == hash && nBestHeight > 40000)
RelayInventory(CInv(MSG_BLOCK, hash));
// // Add atoms to user reviews for coins created
|