From c9ad3402ff8fdac972d960a516befc631533305d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Mar 2016 13:35:23 -0300 Subject: [PATCH] test --- iguana/iguana777.h | 2 +- iguana/iguana_recv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.h b/iguana/iguana777.h index a223c063a..c050db917 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -33,7 +33,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_HEIGHT 200 #define IGUANA_MAXPENDHDRS 1 -#define _IGUANA_MAXPENDING 32 //64 +#define _IGUANA_MAXPENDING 3 //64 #define _IGUANA_MAXBUNDLES 8 #define IGUANA_BUNDLELOOP 100 #define IGUANA_RPCPORT 7778 diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index def1e63e6..eda813b80 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -943,7 +943,7 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr) printf("near hwm.%d gap.%d peer.%s bpranked.%d [%d:%d] pending.%d numreqs.%d\n",coin->blocks.hwmchain.height,gap,addr->ipaddr,bestbp->rank,bestbp->hdrsi,besti,addr->pendblocks,bestblock->numrequests); bestblock->numrequests++; iguana_sendblockreqPT(coin,addr,bestbp,besti,bestblock->RO.hash2,1); - } else printf("addr.%s nothing near to do\n",addr->ipaddr); + } //else printf("addr.%s nothing near to do\n",addr->ipaddr); } if ( (bp= addr->bp) != 0 && bp->rank != 0 && addr->pendblocks < limit ) {