diff --git a/iguana/iguana777.h b/iguana/iguana777.h index a65f83a41..ad90c478a 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -39,7 +39,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 3 #define IGUANA_MINPENDBUNDLES 16 -#define IGUANA_MAXPENDBUNDLES 64 +#define IGUANA_MAXPENDBUNDLES 128 #define IGUANA_BUNDLELOOP 777 #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 75621074b..b9dd9c590 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -619,7 +619,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int bp->emitfinish = 1; if ( (lastbp= coin->lastpending) != 0 && lastbp->hdrsi < coin->bundlescount-1 ) coin->lastpending = coin->bundles[lastbp->hdrsi + 1]; - if ( (rand() % 2) == 0 ) + if ( (rand() % 3) == 0 ) { if ( coin->MAXBUNDLES > IGUANA_MINPENDBUNDLES ) coin->MAXBUNDLES--;