Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a3a9e1f824
  1. 4
      iguana/iguana_realtime.c

4
iguana/iguana_realtime.c

@ -261,11 +261,11 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
iguana_RTramchainfree(coin,coin->current); iguana_RTramchainfree(coin,coin->current);
coin->spendvectorsaved = 0; coin->spendvectorsaved = 0;
coin->RTheight = 0; coin->RTheight = 0;
while ( coin->spendvectorsaved <= 1 ) /*while ( coin->spendvectorsaved <= 1 )
{ {
fprintf(stderr,"wait for spendvectorsaved\n"); fprintf(stderr,"wait for spendvectorsaved\n");
sleep(3); sleep(3);
} }*/
return(0); return(0);
} }
if ( coin->RTdatabad == 0 && bp->hdrsi == coin->longestchain/coin->chain->bundlesize && bp->hdrsi >= coin->balanceswritten && coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n && ((coin->RTheight < coin->blocks.hwmchain.height-offset && time(NULL) > bp->lastRT) || time(NULL) > bp->lastRT+1) ) if ( coin->RTdatabad == 0 && bp->hdrsi == coin->longestchain/coin->chain->bundlesize && bp->hdrsi >= coin->balanceswritten && coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n && ((coin->RTheight < coin->blocks.hwmchain.height-offset && time(NULL) > bp->lastRT) || time(NULL) > bp->lastRT+1) )

Loading…
Cancel
Save