remove insync check all together, slowing it down too much

This commit is contained in:
blackjok3r
2018-10-22 22:16:16 +08:00
parent 5418cd4ad7
commit 62c220a9c2

View File

@@ -957,13 +957,13 @@ void static BitcoinMiner()
}
while (true)
{
if ( KOMODO_INSYNC == 0 && Mining_height > ASSETCHAINS_MINHEIGHT )
/*if ( KOMODO_INSYNC == 0 && Mining_height > ASSETCHAINS_MINHEIGHT )
{
fprintf(stderr,"Mining when blockchain might not be in sync longest.%d vs %d\n",KOMODO_LONGESTCHAIN,Mining_height);
if ( KOMODO_LONGESTCHAIN != 0 && Mining_height >= KOMODO_LONGESTCHAIN )
KOMODO_INSYNC = 1;
sleep(3);
}
} */
// Hash state
KOMODO_CHOSEN_ONE = 0;
crypto_generichash_blake2b_state state;