From 2fa59e6870b2aef406cb0e1f2713a8ac36b56029 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 17 Apr 2016 22:28:36 -0500 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 2 +- iguana/iguana_recv.c | 1 - iguana/main.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 038689248..44d3ff4c4 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2306,7 +2306,7 @@ int64_t iguana_ramchainopen(char *fname,struct iguana_info *coin,struct iguana_r //B = 0, Ux = 0, Sx = 0, P = 0, A = 0, X = 0, Kspace = TXbits = PKbits = 0, U = 0, S = 0, T = 0; mem->alignflag = sizeof(uint32_t); hashmem->alignflag = sizeof(uint32_t); - scriptspace = numexternaltxids = numtxids = coin->chain->bundlesize * 2; + scriptspace = numexternaltxids = numtxids = coin->chain->bundlesize * 1.5; numunspents = numspends = numpkinds = numtxids * 2; for (i=0; ibundlescount; i++) if ( (bp= coin->bundles[i]) != 0 && (rdata= bp->ramchain.H.data) != 0 ) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 31db94c42..8053ec69c 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -1576,7 +1576,6 @@ int32_t iguana_processrecv(struct iguana_info *coin) // single threaded //printf("call iguana_realtime_update i.%d\n",i); } } - flag += (i > 0); coin->RTramchain_busy = (coin->RTgenesis == 0); iguana_jsonQ(); if ( hwmheight != coin->blocks.hwmchain.height ) diff --git a/iguana/main.c b/iguana/main.c index 1bf3e82ad..508aae526 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -73,7 +73,7 @@ char GLOBAL_DBDIR[512] = "/DB"; char GLOBAL_HELPDIR[512] = "/DB/help"; char GLOBAL_VALIDATEDIR[512] = "/DB/purgeable"; char GLOBAL_CONFSDIR[512] = "/DB/confs"; -int32_t IGUANA_NUMHELPERS = 4; +int32_t IGUANA_NUMHELPERS = 1; #else char GLOBAL_TMPDIR[512] = "tmp"; char GLOBAL_HELPDIR[512] = "help";