diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index d530727af..015749207 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -299,9 +299,9 @@ void *dicefinish(void *_ptr) cp = CCinit(&C,EVAL_DICE); GetCCaddress(cp,CCaddr,GetUnspendable(cp,0)); fprintf(stderr,"start dicefinish thread %s CCaddr.%s\n",coinaddr,CCaddr); - while ( (newht= KOMODO_INSYNC) == 0 ) - sleep(1); - sleep(10); + if ( (newht= KOMODO_INSYNC) == 0 ) + sleep(7); + sleep(3); while ( 1 ) { if ( newht != 0 && lastheight != newht ) @@ -1023,7 +1023,7 @@ int64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbit } entropytxid = txid; entropyval = tx.vout[0].nValue; - fprintf(stderr,"funcid.%c first.%d entropytxid.%s val %.8f\n",funcid,first,txid.GetHex().c_str(),(double)entropyval/COIN); + //fprintf(stderr,"funcid.%c first.%d entropytxid.%s val %.8f\n",funcid,first,txid.GetHex().c_str(),(double)entropyval/COIN); first = 1; if (random) { fprintf(stderr, "chosen entropy on loop: %d\n",loops);