From 90b185e93aec9d15d726d5ebe123192d907c2b11 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 12 Mar 2016 20:44:56 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 2 +- iguana/iguana777.h | 2 +- iguana/iguana_recv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 3dd4ca97f..45bbedef3 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -460,7 +460,7 @@ struct iguana_info *iguana_setcoin(char *symbol,void *launched,int32_t maxpeers, if ( (coin->MAXPENDING= maxpending) <= 0 ) coin->MAXPENDING = (strcmp(symbol,"BTC") == 0) ? _IGUANA_MAXPENDING : _IGUANA_MAXPENDING; if ( (coin->MAXBUNDLES= maxbundles) <= 0 ) - coin->MAXBUNDLES = (strcmp(symbol,"BTC") == 0) ? IGUANA_MAXPENDBUNDLES : IGUANA_MAXPENDBUNDLES * 16; + coin->MAXBUNDLES = (strcmp(symbol,"BTC") == 0) ? IGUANA_MAXPENDBUNDLES : IGUANA_MAXPENDBUNDLES * 3; coin->myservices = services; sprintf(dirname,"DB/%s",symbol), OS_ensure_directory(dirname); sprintf(dirname,"vouts/%s",symbol), OS_ensure_directory(dirname); diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 1e1aa696d..b4962ba7e 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -38,7 +38,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_TAILPERCENTAGE 1.0 #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 13 -#define IGUANA_MAXPENDBUNDLES 64 +#define IGUANA_MAXPENDBUNDLES 128 #define IGUANA_BUNDLELOOP 3 #define IGUANA_RPCPORT 7778 #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 2c21ad17a..4d4377ced 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -508,7 +508,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int block->numrequests++; if ( bp->hdrsi == starti ) { - //printf("bundleQ issue [%d:%d]\n",bp->hdrsi,i); + printf("bundleQ issue [%d:%d] numsaved.%d\n",bp->hdrsi,i,bp->numsaved); if ( coin->peers.ranked[0] != 0 ) iguana_sendblockreqPT(coin,coin->peers.ranked[0],bp,i,block->RO.hash2,0); iguana_blockQ(coin,bp,i,block->RO.hash2,1);