From 0bf511a9e573ed52a93fee4f4b971326f0c51ce2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 7 Apr 2016 21:56:38 -0500 Subject: [PATCH] test --- iguana/iguana_unspents.c | 2 +- iguana/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 554d0f124..b6549be74 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -977,7 +977,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st } if ( ptr != 0 ) myfree(ptr,sizeof(*ptr) * n); - printf("[%4d].%-6d duration.%-2d [millis %8.3f] vectors %-6d errs.%d [%5.2f%%] %7d %9s of %d\n",bp->hdrsi,bp->numtmpspends,(uint32_t)time(NULL)-starttime,OS_milliseconds()-startmillis,spendind,errs,100.*(double)emitted/(total+1),emit,mbstr(str,sizeof(*ptr) * emit),n); + printf("UTXO [%4d].%-6d duration.%-2d [millis %8.3f] vectors %-6d errs.%d [%5.2f%%] %7d %9s of %d\n",bp->hdrsi,bp->numtmpspends,(uint32_t)time(NULL)-starttime,OS_milliseconds()-startmillis,spendind,errs,100.*(double)emitted/(total+1),emit,mbstr(str,sizeof(*ptr) * emit),n); if ( errs != 0 ) exit(-1); return(-errs); diff --git a/iguana/main.c b/iguana/main.c index 7c8030ba0..dc1e5f114 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -67,9 +67,9 @@ static int32_t initflag; int32_t HDRnet,netBLOCKS; cJSON *API_json; #ifdef __linux__ -int32_t IGUANA_NUMHELPERS = 16; +int32_t IGUANA_NUMHELPERS = 1; #else -int32_t IGUANA_NUMHELPERS = 8; +int32_t IGUANA_NUMHELPERS = 4; #endif struct iguana_jsonitem { struct queueitem DL; struct supernet_info *myinfo; uint32_t fallback,expired,allocsize; char **retjsonstrp; char remoteaddr[64]; uint16_t port; char jsonstr[]; };