diff --git a/iguana/iguana777.h b/iguana/iguana777.h index ead7b1e3b..696c37d7c 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 128 -#define IGUANA_MAXPENDBUNDLES 128 +#define IGUANA_MINPENDBUNDLES 150 +#define IGUANA_MAXPENDBUNDLES 150 #define IGUANA_BUNDLELOOP 3 #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 ad3cec687..bb606aeb6 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -457,7 +457,8 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int { if ( peercounts[i] > 10 && (addr= coin->peers.ranked[i]) != 0 && now > bp->currenttime+30 ) { - addr->dead = (uint32_t)time(NULL); + if ( numpeers > 100 ) + addr->dead = (uint32_t)time(NULL); for (j=0; jn; j++) { if ( (block= bp->blocks[j]) != 0 && block->peerid == i && block->fpipbits == 0 )