From 6f274800d40a4e7cf33daa648e67eac13cbb3dcd Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 20 Mar 2016 00:21:04 -0300 Subject: [PATCH] test --- iguana/iguana777.h | 4 ++-- iguana/iguana_bundles.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana777.h b/iguana/iguana777.h index b4ca2ff3a..3e285c566 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -38,8 +38,8 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_TAILPERCENTAGE 1.0 #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 3 -#define IGUANA_MINPENDBUNDLES 16 -#define IGUANA_MAXPENDBUNDLES 128 +#define IGUANA_MINPENDBUNDLES 8 +#define IGUANA_MAXPENDBUNDLES 32 #define IGUANA_BUNDLELOOP 77 #define IGUANA_RPCPORT 7778 #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 6869d7a8d..368e74ad4 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -754,7 +754,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int { max = bp->n; counter = iguana_bundleissue(coin,bp,max,timelimit); - // if ( 0 && counter > 0 ) + if ( 0 && counter > 0 ) printf("ITERATE.%d max.%d bundle.%d h.%d n.%d r.%d s.%d F.%d T.%d counter.%d\n",bp->rank,max,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->n,bp->numrecv,bp->numsaved,bp->emitfinish,timelimit,counter); } iguana_bundleQ(coin,bp,1000);