From 8fc7222dcdcb048df58bb014c49d26b077d81247 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 21 Nov 2016 14:35:39 -0300 Subject: [PATCH] test --- src/miner.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/miner.cpp b/src/miner.cpp index 7f290770e..e2a0ca6a3 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -569,6 +569,11 @@ void static BitcoinMiner(CWallet *pwallet) } while (true); //fprintf(stderr,"%s Found peers\n",ASSETCHAINS_SYMBOL); } + while ( ASSETCHAINS_SYMBOL[0] != 0 && chainActive.Tip()->nHeight < 100 ) + { + fprintf(stderr,"%s waiting for block 100, ht.%d\n",ASSETCHAINS_SYMBOL,chainActive.Tip()->nHeight); + sleep(3); + } // // Create new block //