Browse Source

test

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

4
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_DISABLEPEERS
#define _IGUANA_MAXSTUCKTIME 30
#define IGUANA_MAXITERATIONS 100
#define IGUANA_MAXITERATIONS 1000
#define IGUANA_DEFAULTLAG 30
#define IGUANA_MAXCOINS 64
@ -42,7 +42,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1
#define IGUANA_MAXPENDINGREQUESTS 2
#define IGUANA_PENDINGREQUESTS 16
#define IGUANA_PENDINGREQUESTS 2
#define IGUANA_MINPENDBUNDLES 2
#define IGUANA_MAXPENDBUNDLES 256
#define IGUANA_RPCPORT 7778

2
iguana/iguana_bundles.c

@ -945,7 +945,7 @@ double iguana_bundlemissings(struct iguana_info *coin,struct iguana_bundle *bp,d
else max = bp->origmissings;
if ( coin->current != 0 )
{
if ( (dist= bp->hdrsi - coin->current->hdrsi) < coin->MAXBUNDLES && (bp == coin->current || netBLOCKS < bp->n) )
if ( (dist= bp->hdrsi - coin->current->hdrsi) < coin->MAXBUNDLES && netBLOCKS < bp->n )
{
iguana_unstickhdr(coin,bp,60);
if ( bp->numcached > bp->n - (coin->MAXBUNDLES - dist) )

Loading…
Cancel
Save