|
|
@ -1305,11 +1305,10 @@ int32_t iguana_volatilesinit(struct iguana_info *coin) |
|
|
|
} |
|
|
|
coin->RTheight = coin->balanceswritten * coin->chain->bundlesize; |
|
|
|
iguana_bundlestats(coin,buf,IGUANA_DEFAULTLAG); |
|
|
|
coin->blocks.hwmchain.height = coin->RTheight - 1; |
|
|
|
if ( (n= iguana_walkchain(coin,0)) > 0 ) |
|
|
|
printf("iguana_walkchain n.%d vs hwmheight.%d\n",n,coin->blocks.hwmchain.height); |
|
|
|
|
|
|
|
//iguana_fastlink(coin,coin->balanceswritten * coin->chain->bundlesize - 1);
|
|
|
|
coin->blocks.hwmchain = *iguana_blockfind("init",coin,coin->bundles[coin->balanceswritten-1]->hashes[bp->n-1]); |
|
|
|
//if ( (n= iguana_walkchain(coin,0)) > 0 )
|
|
|
|
// printf("iguana_walkchain n.%d vs hwmheight.%d\n",n,coin->blocks.hwmchain.height);
|
|
|
|
iguana_fastlink(coin,coin->balanceswritten * coin->chain->bundlesize - 1); |
|
|
|
return(coin->balanceswritten); |
|
|
|
} |
|
|
|
|
|
|
|