|
@ -962,12 +962,12 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st |
|
|
ptr = mycalloc('x',sizeof(*ptr),n); |
|
|
ptr = mycalloc('x',sizeof(*ptr),n); |
|
|
total += n; |
|
|
total += n; |
|
|
startmillis = OS_milliseconds(); |
|
|
startmillis = OS_milliseconds(); |
|
|
if ( 0 && strcmp(coin->symbol,"BTC") == 0 ) |
|
|
//if ( 0 && strcmp(coin->symbol,"BTC") == 0 )
|
|
|
printf("start UTXOGEN.%d max.%d ptr.%p millis.%.3f\n",bp->bundleheight,n,ptr,startmillis); |
|
|
printf("start UTXOGEN.%d max.%d ptr.%p millis.%.3f\n",bp->bundleheight,n,ptr,startmillis); |
|
|
starttime = (uint32_t)time(NULL); |
|
|
starttime = (uint32_t)time(NULL); |
|
|
txidind = B[starti].firsttxidind; |
|
|
txidind = B[starti].firsttxidind; |
|
|
spendind = B[starti].firstvin; |
|
|
spendind = B[starti].firstvin; |
|
|
iguana_ramchain_prefetch(coin,&bp->ramchain,2); |
|
|
iguana_ramchain_prefetch(coin,&bp->ramchain,0); |
|
|
for (i=starti; i<numblocks; i++) |
|
|
for (i=starti; i<numblocks; i++) |
|
|
{ |
|
|
{ |
|
|
if ( txidind != B[i].firsttxidind || spendind != B[i].firstvin ) |
|
|
if ( txidind != B[i].firsttxidind || spendind != B[i].firstvin ) |
|
|