|
@ -404,7 +404,7 @@ void dpow_statemachinestart(void *ptr) |
|
|
printf("DPOW statemachine checkpoint.%d %s\n",checkpoint.blockhash.height,bits256_str(str,checkpoint.blockhash.hash)); |
|
|
printf("DPOW statemachine checkpoint.%d %s\n",checkpoint.blockhash.height,bits256_str(str,checkpoint.blockhash.hash)); |
|
|
for (i=0; i<sizeof(srchash); i++) |
|
|
for (i=0; i<sizeof(srchash); i++) |
|
|
srchash.bytes[i] = myinfo->DPOW.minerkey33[i+1]; |
|
|
srchash.bytes[i] = myinfo->DPOW.minerkey33[i+1]; |
|
|
dpow_utxosync(myinfo,bp,bp->recvmask,myind,srchash,DPOW_UTXOBTCCHANNEL); |
|
|
dpow_utxosync(myinfo,bp,0,myind,srchash,DPOW_UTXOBTCCHANNEL); |
|
|
while ( time(NULL) < starttime+300 && src != 0 && dest != 0 && bp->state != 0xffffffff ) |
|
|
while ( time(NULL) < starttime+300 && src != 0 && dest != 0 && bp->state != 0xffffffff ) |
|
|
{ |
|
|
{ |
|
|
sleep(1); |
|
|
sleep(1); |
|
|