From bdd4f5417286f96103bce9142e14ca067405e81b Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 30 Mar 2016 12:34:25 -0300 Subject: [PATCH] test --- iguana/iguana777.h | 2 +- iguana/iguana_bundles.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 1095a7963..77bdb8a2c 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 77 +#define _IGUANA_MAXSTUCKTIME 300 #define IGUANA_MAXITERATIONS 10000 #define IGUANA_DEFAULTLAG 30 diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 51e5e1d17..31623d33a 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -804,7 +804,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)); } - iguana_blocksmissing(coin,&avail,missings,0,bp,bp->n,1); + iguana_blocksmissing(coin,&avail,missings,0,bp,bp->n,coin->MAXSTUCKTIME); /*for (i=n=0; in; i++) { if ( lag < coin->MAXSTUCKTIME )