Browse Source

test

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

4
iguana/iguana777.h

@ -33,7 +33,7 @@
#define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 64 //64
#define _IGUANA_MAXBUNDLES 8
#define IGUANA_MAXACTIVEBUNDLES 32
#define IGUANA_MAXACTIVEBUNDLES 128
#define IGUANA_MAXFILES 4096
#define IGUANA_BUNDLELOOP 100
#define IGUANA_RPCPORT 7778
@ -65,7 +65,7 @@ struct iguana_txdatabits { uint64_t addrind:IGUANA_LOG2MAXPEERS,filecount:10,fpo
#define IGUANA_DEDICATED_THREADS
#ifdef IGUANA_DEDICATED_THREADS
#define IGUANA_MAXCONNTHREADS 3
#define IGUANA_MAXCONNTHREADS 32
#define IGUANA_MAXSENDTHREADS IGUANA_MAXPEERS
#define IGUANA_MAXRECVTHREADS IGUANA_MAXPEERS
#else

2
iguana/iguana_init.c

@ -239,7 +239,7 @@ void iguana_parseline(struct iguana_info *coin,int32_t iter,FILE *fp)
height = (height * 10) + (line[k] - '0');
else break;
}
printf("parseline: k.%d %d height.%d m.%d bundlesize.%d (%s)\n",k,line[k],height,m,coin->chain->bundlesize,&line[k+1+65]);// + strlen(line+k+1)]);
//printf("parseline: k.%d %d height.%d m.%d bundlesize.%d (%s)\n",k,line[k],height,m,coin->chain->bundlesize,&line[k+1+65]);// + strlen(line+k+1)]);
if ( line[k] == ' ' )
{
decode_hex(hash2.bytes,sizeof(hash2),line+k+1);

Loading…
Cancel
Save