diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 6ba951af0..727dc49fb 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -23,7 +23,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t len); #define IGUANA_MAXSCRIPTSIZE 10001 -#define IGUANA_SERIALIZE_SPENDVECTORGEN +//#define IGUANA_SERIALIZE_SPENDVECTORGEN //#define IGUANA_SERIALIZE_BALANCEGEN //#define IGUANA_DISABLEPEERS #define _IGUANA_MAXSTUCKTIME 77 @@ -42,7 +42,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_HEADPERCENTAGE 0. #define IGUANA_TAILPERCENTAGE 1.0 #define IGUANA_MAXPENDHDRS 1 -#define IGUANA_MAXPENDINGREQUESTS 7 +#define IGUANA_MAXPENDINGREQUESTS 13 #define IGUANA_PENDINGREQUESTS 128 #define IGUANA_MINPENDBUNDLES 2 #define IGUANA_MAXPENDBUNDLES 64 diff --git a/iguana/main.c b/iguana/main.c index 6d0046f6e..f46ac4015 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -344,7 +344,7 @@ mksquashfs DB/BTC BTC.squash1M -b 1048576 void mainloop(struct supernet_info *myinfo) { - int32_t i,flag; char str[65]; struct iguana_info *coin; struct iguana_helper *ptr; struct iguana_bundle *bp; + int32_t i,flag; struct iguana_info *coin; struct iguana_helper *ptr; struct iguana_bundle *bp; sleep(3); printf("mainloop\n"); while ( 1 )