diff --git a/iguana/iguana777.c b/iguana/iguana777.c index b5c7852c6..db8f1489a 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -429,7 +429,7 @@ void iguana_coinloop(void *arg) } } if ( flag == 0 ) - usleep((coin->polltimeout+1) * 1000); + usleep((coin->polltimeout+1) * 10); } } diff --git a/iguana/iguana777.h b/iguana/iguana777.h index a811523c0..9dfa4e2b3 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -35,9 +35,9 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_HEADPERCENTAGE .1 #define IGUANA_TAILPERCENTAGE .99 #define IGUANA_MAXPENDHDRS 1 -#define _IGUANA_MAXPENDING 7 +#define _IGUANA_MAXPENDING 32 #define _IGUANA_MAXBUNDLES 8 -#define IGUANA_BUNDLELOOP 13 +#define IGUANA_BUNDLELOOP 128 #define IGUANA_RPCPORT 7778 #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index 45a5176d8..80b077cc1 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -1034,8 +1034,8 @@ void iguana_dedicatedloop(struct iguana_info *coin,struct iguana_peer *addr) usleep(100000); } else if ( addr->rank != 1 ) - usleep(coin->polltimeout*1000 + 1*(rand() % (coin->polltimeout*1000))); - else usleep(1000); + usleep(coin->polltimeout*10 + 1*(rand() % (coin->polltimeout*10))); + else usleep(10); } else run >>= 2; } if ( flag != 0 )