diff --git a/iguana/iguana777.h b/iguana/iguana777.h index da3b47283..dabe8391a 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -41,7 +41,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 3 #define IGUANA_MINPENDBUNDLES 2 -#define IGUANA_MAXPENDBUNDLES 64 +#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 a4aeb458f..586e30d80 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -787,13 +787,13 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp) int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp) { struct iguana_bundle *prevbp; int32_t i,retval; -//#ifdef IGUANA_SERIALIZE_SPENDVECTORGEN +#ifdef IGUANA_SERIALIZE_SPENDVECTORGEN //if ( coin->MAXMEM <= 4*(1024L * 1024 * 1024) ) { if ( (prevbp= coin->current) != 0 && prevbp->hdrsi < (coin->longestchain / coin->chain->bundlesize)-0*coin->MAXBUNDLES ) return(0); } -//#endif +#endif for (i=0; ihdrsi; i++) if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish < coin->startutc ) break;