|
@ -643,7 +643,7 @@ struct iguana_bundle *iguana_externalspent(struct iguana_info *coin,bits256 *pre |
|
|
printf("%p iguana_txidfind.[%.0f] ave %.2f micros, total %.2f seconds | duration %.3f millis\n",spentbp->ramchain.txbits,coin->txidfind_num,(coin->txidfind_totalmillis*1000.)/coin->txidfind_num,coin->txidfind_totalmillis/1000.,duration); |
|
|
printf("%p iguana_txidfind.[%.0f] ave %.2f micros, total %.2f seconds | duration %.3f millis\n",spentbp->ramchain.txbits,coin->txidfind_num,(coin->txidfind_totalmillis*1000.)/coin->txidfind_num,coin->txidfind_totalmillis/1000.,duration); |
|
|
coin->txidfind_totalmillis += duration; |
|
|
coin->txidfind_totalmillis += duration; |
|
|
coin->txidfind_num += 1.; |
|
|
coin->txidfind_num += 1.; |
|
|
if ( 1 && coin->PREFETCHLAG > 0 ) |
|
|
if ( 0 && coin->PREFETCHLAG > 0 ) |
|
|
{ |
|
|
{ |
|
|
if ( spentbp->lastprefetch == 0 ) |
|
|
if ( spentbp->lastprefetch == 0 ) |
|
|
{ |
|
|
{ |
|
@ -976,7 +976,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st |
|
|
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,0); |
|
|
iguana_ramchain_prefetch(coin,&bp->ramchain,3); |
|
|
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 ) |
|
|