diff --git a/iguana/iguana777.h b/iguana/iguana777.h index ad32fa61e..875d46f8e 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -26,7 +26,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_SERIALIZE_SPENDVECTORGEN //#define IGUANA_SERIALIZE_BALANCEGEN //#define IGUANA_DISABLEPEERS -#define _IGUANA_MAXSTUCKTIME 300 +#define _IGUANA_MAXSTUCKTIME 77 #define IGUANA_MAXITERATIONS 10000 #define IGUANA_DEFAULTLAG 30 diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index b40c22c36..6f7557419 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -806,7 +806,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct OS_memspace *mem,stru while ( (breq= queue_dequeue(&coin->priorityQ,0)) != 0 ) myfree(breq,sizeof(*breq)); } - n = iguana_blocksmissing(coin,&avail,missings,0,bp,bp->n,0*coin->MAXSTUCKTIME); + n = iguana_blocksmissing(coin,&avail,missings,0,bp,bp->n,30); printf("issued %d priority requests [%d] to unstick stuckiters.%d lag.%d\n",n,bp->hdrsi,coin->stuckiters,lag); /*for (i=n=0; in; i++) {