From d35e53eb63afce1fc2db6d765ecad3d3a7414e7d Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 13 Mar 2016 19:29:47 -0300 Subject: [PATCH] test --- iguana/iguana777.h | 2 +- iguana/iguana_bundles.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 71ff2a838..1c23f2ce9 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -37,7 +37,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_HEADPERCENTAGE 0. #define IGUANA_TAILPERCENTAGE 1.0 #define IGUANA_MAXPENDHDRS 1 -#define _IGUANA_MAXPENDING 8 +#define _IGUANA_MAXPENDING 2 #define IGUANA_MINPENDBUNDLES 128 #define IGUANA_MAXPENDBUNDLES 64 #define IGUANA_BUNDLELOOP 10000 diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 5794b6d45..6d52f6a15 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -384,7 +384,7 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp,int printf("iguana_bundlecalcs.(%s) illegal hdrsi.%d bundlei.%d checki.%d\n",fname,hdrsi,bundlei,checki); continue; } - if ( 0 && bp->checkedtmp < bp->n && (fp= fopen(fname,"rb")) != 0 ) + if ( 1 && bp->checkedtmp < bp->n && (fp= fopen(fname,"rb")) != 0 ) { fseek(fp,0,SEEK_END); if ( block->RO.recvlen == 0 )