Browse Source

test

etomic
jl777 8 years ago
parent
commit
df69769818
  1. 9
      iguana/dpow/dpow_fsm.c

9
iguana/dpow/dpow_fsm.c

@ -402,8 +402,13 @@ void dpow_statemachinestart(void *ptr)
//printf("done utxosync start.%u %u\n",starttime,(uint32_t)time(NULL));
while ( time(NULL) < starttime+bp->duration && src != 0 && dest != 0 && bp->state != 0xffffffff )
{
if ( bp->isratify == 0 && myinfo->DPOWS[0].ratifying != 0 )
break;
if ( bp->isratify == 0 )
{
if ( myinfo->DPOWS[0].ratifying != 0 )
break;
extralen = dpow_paxpending(extras);
bp->paxwdcrc = bp->notaries[bp->myind].paxwdcrc = calc_crc32(0,extras,extralen);
}
sleep(1);
if ( dp->checkpoint.blockhash.height > checkpoint.blockhash.height )
{

Loading…
Cancel
Save