aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-01-05 07:45:02 -0800
committerWladimir J. van der Laan <[email protected]>2013-01-05 07:45:02 -0800
commiteb5c24c4645ba69bc7a053b09e19825cdc5c9168 (patch)
treed8738b283c418822bd0a9662596181e96345ffd2 /src/main.cpp
parentMerge pull request #1685 from Diapolo/Qt_add_options_reset (diff)
parentBitcoin-Qt: never display own block count > estimated block count (diff)
downloaddiscoin-eb5c24c4645ba69bc7a053b09e19825cdc5c9168.tar.xz
discoin-eb5c24c4645ba69bc7a053b09e19825cdc5c9168.zip
Merge pull request #2148 from Diapolo/est_block_count
Bitcoin-Qt: never display own block count > estimated block count
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b59e8a5ac..28fbc8b45 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -45,7 +45,7 @@ bool fReindex = false;
bool fBenchmark = false;
unsigned int nCoinCacheSize = 5000;
-CMedianFilter<int> cPeerBlockCounts(5, 0); // Amount of blocks that other nodes claim to have
+CMedianFilter<int> cPeerBlockCounts(8, 0); // Amount of blocks that other nodes claim to have
map<uint256, CBlock*> mapOrphanBlocks;
multimap<uint256, CBlock*> mapOrphanBlocksByPrev;