Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
5315332cd2
  1. 14
      iguana/iguana_realtime.c

14
iguana/iguana_realtime.c

@ -219,13 +219,6 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
}
else printf("RT edge case.%d\n",block->height);
}
if ( coin->spendvectorsaved <= 1 )
{
//usleep(10000);
printf("spendvectorsaved not yet\n");
sleep(1);
return(0);
}
for (i=0; i<coin->bundlescount-1; i++)
{
if ( (bp= coin->bundles[i]) != 0 && (i > 0 && bp->utxofinish == 0) && bp != coin->current )
@ -238,6 +231,13 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
coin->spendvectorsaved = 1;
}
}
if ( coin->spendvectorsaved <= 1 )
{
//usleep(10000);
printf("spendvectorsaved not yet\n");
sleep(1);
return(0);
}
bp = coin->current;
if ( bp == 0 || iguana_validated(coin) < bp->hdrsi )
{

Loading…
Cancel
Save