From 0184604aaf21f8279df9ecbee7be4fbf0bbf99c1 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Sun, 21 Feb 2010 21:42:01 +0000 Subject: transaction filter tabs instead of view->show generated -- version 0.2.5 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@69 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index e5cc881bb2..56020a13ce 100644 --- a/main.cpp +++ b/main.cpp @@ -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 -- cgit v1.2.3