From 32d19a6d2685463267e9a8946a88a94e13656a54 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 30 Mar 2017 03:48:17 +0300 Subject: [PATCH] Test --- iguana/iguana_ramchain.c | 2 ++ includes/iguana_globals.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 91b388a46..64ca06287 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2197,6 +2197,8 @@ void iguana_bundlemapfree(struct iguana_info *coin,struct OS_memspace *mem,struc { for (j=starti; j<=endi; j++) { + R[j].fileptr = 0; + R[j].filesize = 0; iguana_ramchain_free(coin,&R[j],1); } myfree(R,n * sizeof(*R)); diff --git a/includes/iguana_globals.h b/includes/iguana_globals.h index f4fda978c..31a91a073 100755 --- a/includes/iguana_globals.h +++ b/includes/iguana_globals.h @@ -42,7 +42,7 @@ char GLOBAL_GENESISDIR[512] = "genesis"; char GLOBAL_VALIDATEDIR[512] = "DB/purgeable"; char GLOBAL_CONFSDIR[512] = "confs"; #ifdef __linux -int32_t IGUANA_NUMHELPERS = 1; +int32_t IGUANA_NUMHELPERS = 8; #else int32_t IGUANA_NUMHELPERS = 1; #endif