|
|
@ -392,7 +392,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert |
|
|
|
for (hdrsi=0; hdrsi<max; hdrsi++) |
|
|
|
iguana_allocvolatile(coin,&coin->bundles[hdrsi]->ramchain); |
|
|
|
for (hdrsi=0; hdrsi<max; hdrsi++) |
|
|
|
iguana_balancegen(coin,bp,0,bp->n-1); |
|
|
|
iguana_balancegen(coin,coin->bundles[hdrsi],0,coin->chain->bundlesize-1); |
|
|
|
if ( iguana_balanceflush(coin,max,3) > 0 ) |
|
|
|
printf("balanceswritten.%d flushed bp->hdrsi %d vs %d coin->longestchain/coin->chain->bundlesize\n",coin->balanceswritten,bp->hdrsi,coin->longestchain/coin->chain->bundlesize); |
|
|
|
} else printf("error saving spendvectors\n"); |
|
|
@ -432,7 +432,7 @@ void iguana_helper(void *arg) |
|
|
|
if ( (coin= Coins[i]) != 0 ) |
|
|
|
{ |
|
|
|
if ( coin->spendvectorsaved == 1 ) |
|
|
|
iguana_utxogen(coin,helperid,1); |
|
|
|
iguana_utxogen(coin,helperid,coin->enableCACHE < 0); |
|
|
|
} |
|
|
|
} |
|
|
|
//if ( (type & (1 << 0)) != 0 )
|
|
|
|