From 438ba9c17d9493f40c3c5e6e720d5a7a24f6e390 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Apr 2017 23:14:14 +0300 Subject: [PATCH] Test --- src/main.cpp | 2 +- src/miner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5c818ec4a..97d2cbd8b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1565,7 +1565,7 @@ bool IsInitialBlockDownload() if ( ASSETCHAINS_SYMBOL[0] == 0 ) state = ((chainActive.Height() < ptr->nHeight - 24*60) || ptr->GetBlockTime() < (GetTime() - chainParams.MaxTipAge())); - else state = (chainActive.Height() < ptr->nHeight - 24*60); + else state = (chainActive.Height() < ptr->nHeight - 10); //fprintf(stderr,"state.%d ht.%d vs %d, t.%u %u\n",state,(int32_t)chainActive.Height(),(uint32_t)ptr->nHeight,(int32_t)ptr->GetBlockTime(),(uint32_t)(GetTime() - chainParams.MaxTipAge())); if (!state) { diff --git a/src/miner.cpp b/src/miner.cpp index d76a9931a..4d815639a 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -597,7 +597,7 @@ static bool ProcessBlockFound(CBlock* pblock) } } // Track how many getdata requests this block gets - if ( 0 ) + //if ( 0 ) { LOCK(wallet.cs_wallet); wallet.mapRequestCount[pblock->GetHash()] = 0;