Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
8154ce39a9
  1. 12
      iguana/iguana_realtime.c

12
iguana/iguana_realtime.c

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

Loading…
Cancel
Save