Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
fd5d376420
  1. 5
      iguana/iguana_realtime.c

5
iguana/iguana_realtime.c

@ -210,6 +210,11 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
struct iguana_block *block=0; struct iguana_blockRO *B; struct iguana_ramchain *dest=0,blockR;
if ( coin->peers == 0 && coin->virtualchain == 0 )
return(0);
if ( coin->RTheight < coin->blocks.hwmchain.height )
{
printf("inversion RT %d < %d\n",coin->RTheight,coin->blocks.hwmchain.height);
coin->RTheight = 0;
}
offset = (strcmp("BTC",coin->symbol) != 0);
if ( coin->current != 0 && (coin->blocks.hwmchain.height % coin->chain->bundlesize) == coin->chain->bundlesize-1 && coin->blocks.hwmchain.height/coin->chain->bundlesize == coin->longestchain/coin->chain->bundlesize )
{

Loading…
Cancel
Save