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