Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
bdd4f54172
  1. 2
      iguana/iguana777.h
  2. 2
      iguana/iguana_bundles.c

2
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_SPENDVECTORGEN
//#define IGUANA_SERIALIZE_BALANCEGEN //#define IGUANA_SERIALIZE_BALANCEGEN
//#define IGUANA_DISABLEPEERS //#define IGUANA_DISABLEPEERS
#define _IGUANA_MAXSTUCKTIME 77 #define _IGUANA_MAXSTUCKTIME 300
#define IGUANA_MAXITERATIONS 10000 #define IGUANA_MAXITERATIONS 10000
#define IGUANA_DEFAULTLAG 30 #define IGUANA_DEFAULTLAG 30

2
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 ) while ( (breq= queue_dequeue(&coin->priorityQ,0)) != 0 )
myfree(breq,sizeof(*breq)); 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; i<bp->n; i++) /*for (i=n=0; i<bp->n; i++)
{ {
if ( lag < coin->MAXSTUCKTIME ) if ( lag < coin->MAXSTUCKTIME )

Loading…
Cancel
Save