Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
687f0b3f0b
  1. 2
      iguana/iguana777.h
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana777.h

@ -40,7 +40,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define _IGUANA_MAXPENDING 7
#define IGUANA_MINPENDBUNDLES 32
#define IGUANA_MAXPENDBUNDLES 64
#define IGUANA_BUNDLELOOP 10000
#define IGUANA_BUNDLELOOP 777
#define IGUANA_RPCPORT 7778
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)

2
iguana/iguana_recv.c

@ -569,7 +569,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
pend = queue_size(&coin->priorityQ) + queue_size(&coin->blocksQ);
for (i=0; i<IGUANA_MAXPEERS; i++)
pend += coin->peers.active[i].pendblocks;
if ( pend >= (IGUANA_BUNDLELOOP + coin->MAXPENDING*coin->peers.numranked) )
if ( pend >= IGUANA_BUNDLELOOP )
{
//for (i=better=0; i<coin->bundlescount; i++)
// if ( coin->bundles[i] != 0 && coin->bundles[i]->numsaved > bp->numsaved )

Loading…
Cancel
Save