Browse Source

test

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

2
iguana/iguana777.h

@ -33,7 +33,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_HEIGHT 200
#define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 32 //64
#define _IGUANA_MAXPENDING 3 //64
#define _IGUANA_MAXBUNDLES 8
#define IGUANA_BUNDLELOOP 100
#define IGUANA_RPCPORT 7778

2
iguana/iguana_recv.c

@ -943,7 +943,7 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr)
printf("near hwm.%d gap.%d peer.%s bpranked.%d [%d:%d] pending.%d numreqs.%d\n",coin->blocks.hwmchain.height,gap,addr->ipaddr,bestbp->rank,bestbp->hdrsi,besti,addr->pendblocks,bestblock->numrequests);
bestblock->numrequests++;
iguana_sendblockreqPT(coin,addr,bestbp,besti,bestblock->RO.hash2,1);
} else printf("addr.%s nothing near to do\n",addr->ipaddr);
} //else printf("addr.%s nothing near to do\n",addr->ipaddr);
}
if ( (bp= addr->bp) != 0 && bp->rank != 0 && addr->pendblocks < limit )
{

Loading…
Cancel
Save