Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
8e3984fc9b
  1. 2
      iguana/coins/fastbtcd
  2. 2
      iguana/iguana777.c
  3. 2
      includes/iguana_globals.h

2
iguana/coins/fastbtcd

@ -1 +1 @@
curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTCD\",\"startpend\":2048,\"endpend\":2048,\"services\":129,\"maxpeers\":256,\"RELAY\":1,\"VALIDATE\":1,\"portp2p\":14631,\"rpc\":14632}"
curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTCD\",\"startpend\":4096,\"endpend\":4096,\"services\":129,\"maxpeers\":256,\"RELAY\":1,\"VALIDATE\":1,\"portp2p\":14631,\"rpc\":14632}"

2
iguana/iguana777.c

@ -804,7 +804,7 @@ struct iguana_info *iguana_setcoin(char *symbol,void *launched,int32_t maxpeers,
if ( (coin= iguana_coinfind(symbol)) == 0 )
coin = iguana_coinadd(symbol,name,json,virtcoin);
//printf("ensure directories maxval.%d mult.%d start.%d end.%d\n",maxval,mult,coin->startPEND,coin->endPEND);
mult = (strcmp("BTC",coin->symbol) != 0) ? 8 : 128;
mult = (strcmp("BTC",coin->symbol) != 0) ? 64 : 128;
maxval = IGUANA_MAXPENDBUNDLES;
if ( coin->virtualchain == 0 )
{

2
includes/iguana_globals.h

@ -42,7 +42,7 @@ char GLOBAL_GENESISDIR[512] = "genesis";
char GLOBAL_VALIDATEDIR[512] = "DB/purgeable";
char GLOBAL_CONFSDIR[512] = "confs";
#ifdef __linux
int32_t IGUANA_NUMHELPERS = 1;
int32_t IGUANA_NUMHELPERS = 4;
#else
int32_t IGUANA_NUMHELPERS = 1;
#endif

Loading…
Cancel
Save