Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
42d84f1931
  1. 8
      iguana/iguana_realtime.c
  2. 5
      iguana/iguana_recv.c

8
iguana/iguana_realtime.c

@ -225,7 +225,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
}
if ( coin->spendvectorsaved <= 1 )
{
printf("spendvectorsaved not yet\n");
printf("%s spendvectorsaved not yet\n",coin->symbol);
usleep(100000);
return(0);
}
@ -347,7 +347,11 @@ printf("spendvectorsaved not yet\n");
}
else
{
printf("skip RT.(%d %d %d %d %d %d %d %u)\n",coin->RTdatabad,bp->hdrsi,coin->longestchain/coin->chain->bundlesize,coin->balanceswritten,coin->RTheight,bp->bundleheight,coin->blocks.hwmchain.height,bp->lastRT);
if ( coin->virtualchain == 0 )
{
printf("%s skip RT.(%d %d %d %d %d %d %d %u)\n",coin->symbol,coin->RTdatabad,bp->hdrsi,coin->longestchain/coin->chain->bundlesize,coin->balanceswritten,coin->RTheight,bp->bundleheight,coin->blocks.hwmchain.height,bp->lastRT);
sleep(1);
}
}
n = 0;
if ( coin->RTdatabad == 0 && dest != 0 && flag != 0 && coin->RTheight >= coin->longestchain-offset )

5
iguana/iguana_recv.c

@ -1667,7 +1667,7 @@ int32_t iguana_processrecv(struct supernet_info *myinfo,struct iguana_info *coin
{
flag += iguana_reqblocks(coin);
iguana_bundlestats(coin,str,IGUANA_DEFAULTLAG);
}*/
}
if ( time(NULL) > coin->spendvectorsaved )
{
for (i=0; i<coin->chain->bundlesize; i++)
@ -1675,7 +1675,8 @@ int32_t iguana_processrecv(struct supernet_info *myinfo,struct iguana_info *coin
if ( coin->RTdatabad != 0 || iguana_realtime_update(myinfo,coin) <= 0 )
break;
}
}
}*/
iguana_realtime_update(myinfo,coin);
coin->RTramchain_busy = 0;//(coin->RTgenesis == 0);
flag += iguana_process_msgrequestQ(myinfo,coin);
//if ( strcmp("BTCD",coin->symbol) == 0 )

Loading…
Cancel
Save