|
|
@ -1255,6 +1255,7 @@ int32_t iguana_ramchain_free(struct iguana_info *coin,struct iguana_ramchain *ra |
|
|
|
myfree(item,sizeof(*item)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if ( ramchain->txbits != 0 ) |
|
|
|
{ |
|
|
|
free(ramchain->txbits); |
|
|
@ -1265,7 +1266,6 @@ int32_t iguana_ramchain_free(struct iguana_info *coin,struct iguana_ramchain *ra |
|
|
|
free(ramchain->cacheT); |
|
|
|
ramchain->cacheT = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
ramchain->txids = 0; |
|
|
|
ramchain->pkhashes = 0; |
|
|
|
if ( ramchain->hashmem != 0 ) |
|
|
@ -2269,7 +2269,7 @@ int32_t iguana_ramchain_expandedsave(struct supernet_info *myinfo,struct iguana_ |
|
|
|
} |
|
|
|
} |
|
|
|
//printf("%08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %llx ht.%d bundlehashes.%s\n",mapchain->H.data->lhashes[0].uints[0],mapchain->H.data->lhashes[1].uints[0],mapchain->H.data->lhashes[2].uints[0],mapchain->H.data->lhashes[3].uints[0],mapchain->H.data->lhashes[4].uints[0],mapchain->H.data->lhashes[5].uints[0],mapchain->H.data->lhashes[6].uints[0],mapchain->H.data->lhashes[7].uints[0],mapchain->H.data->lhashes[8].uints[0],mapchain->H.data->lhashes[9].uints[0],(long long)mapchain->H.data->sha256.txid,mapchain->height,coin->symbol);
|
|
|
|
iguana_ramchain_free(coin,mapchain,cmpflag); |
|
|
|
iguana_ramchain_free(coin,mapchain,1); |
|
|
|
} |
|
|
|
iguana_mempurge(hashmem); |
|
|
|
} |
|
|
|