Browse Source

test

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

2
iguana/iguana777.h

@ -37,7 +37,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_HEADPERCENTAGE 0.
#define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 64
#define _IGUANA_MAXPENDING 7
#define IGUANA_MINPENDBUNDLES 32
#define IGUANA_MAXPENDBUNDLES 32
#define IGUANA_BUNDLELOOP 10000

2
iguana/iguana_recv.c

@ -424,7 +424,7 @@ int32_t iguana_bundlekick(struct iguana_info *coin,struct iguana_bundle *bp,int3
{
if ( block->fpipbits == 0 || block->RO.recvlen == 0 )
{
if ( bp->issued[i] == 0 || now > bp->issued[i]+10 )
if ( bp->issued[i] == 0 || now > bp->issued[i]+60 )
{
block->numrequests++;
if ( bp->hdrsi == starti )

Loading…
Cancel
Save