Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
bcd9187a51
  1. 2
      iguana/iguana_realtime.c

2
iguana/iguana_realtime.c

@ -274,7 +274,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
}*/ }*/
return(0); return(0);
} }
if ( coin->RTdatabad == 0 && bp->hdrsi == coin->longestchain/coin->chain->bundlesize && bp->hdrsi >= coin->balanceswritten-2 && ((coin->RTheight < coin->blocks.hwmchain.height-offset && time(NULL) > bp->lastRT) || time(NULL) > bp->lastRT+1) ) //coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n && if ( coin->RTdatabad == 0 && bp->hdrsi >= (coin->longestchain/coin->chain->bundlesize)-1 && bp->hdrsi >= coin->balanceswritten-2 && ((coin->RTheight < coin->blocks.hwmchain.height-offset && time(NULL) > bp->lastRT) || time(NULL) > bp->lastRT+1) ) //coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n &&
{ {
if ( coin->RTheight < bp->hdrsi*coin->chain->bundlesize ) if ( coin->RTheight < bp->hdrsi*coin->chain->bundlesize )
coin->RTheight = bp->hdrsi*coin->chain->bundlesize; coin->RTheight = bp->hdrsi*coin->chain->bundlesize;

Loading…
Cancel
Save