From 1897960f16952dee52cc4bae111604926d8e0437 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 20 Mar 2016 01:23:36 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 2 +- iguana/iguana777.h | 4 ++-- iguana/iguana_bundles.c | 4 ++-- iguana/iguana_ramchain.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 1189294b7..25f356e9e 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -342,7 +342,7 @@ int32_t iguana_helpertask(FILE *fp,struct OS_memspace *mem,struct OS_memspace *m { if ( iguana_bundlesaveHT(coin,mem,memB,bp,ptr->starttime) == 0 ) { - fprintf(stderr,"emitQ coin.%p bp.[%d]\n",ptr->coin,bp->bundleheight); + //fprintf(stderr,"emitQ coin.%p bp.[%d]\n",ptr->coin,bp->bundleheight); bp->emitfinish = (uint32_t)time(NULL) + 1; coin->numemitted++; } else bp->emitfinish = 0; diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 0ee952e5a..8b0d44cdb 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 8 -#define IGUANA_MAXPENDBUNDLES 32 +#define IGUANA_MINPENDBUNDLES 16 +#define IGUANA_MAXPENDBUNDLES 64 #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 9f5310774..e221f86ff 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -496,7 +496,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int } } } - if ( 1 && laggard != 0 ) + if ( 0 && laggard != 0 ) { for (i=0; ibundleheight); + //fprintf(stderr,"emitQ coin.%p bp.[%d]\n",coin,bp->bundleheight); bp->emitfinish = (uint32_t)time(NULL) + 1; coin->numemitted++; } else bp->emitfinish = 0; diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index d1c625d6d..38a53ae7b 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2443,7 +2443,7 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str } iguana_ramchain_free(dest,0); bp->ramchain = newchain; - printf("finished bundlesave.%d\n",bp->bundleheight); + //printf("finished bundlesave.%d\n",bp->bundleheight); return(retval); }