jl777 8 years ago
parent
commit
8cb0dcdd94
  1. 2
      iguana/coins/btc_7776
  2. 2
      iguana/iguana_chains.c

2
iguana/coins/btc_7776

@ -1 +1 @@
curl --url "http://127.0.0.1:7776" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTC\",\"startpend\":64,\"endpend\":64,\"services\":129,\"maxpeers\":512,\"RELAY\":-1,\"VALIDATE\":0,\"portp2p\":8333,\"minconfirms\":1}"
curl --url "http://127.0.0.1:7776" --data "{\"conf\":\"bitcoin.conf\",\"path\":\"/root\",\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTC\",\"startpend\":64,\"endpend\":64,\"services\":129,\"maxpeers\":512,\"RELAY\":-1,\"VALIDATE\":0,\"portp2p\":8333,\"minconfirms\":1}"

2
iguana/iguana_chains.c

@ -310,7 +310,7 @@ void iguana_chainparms(struct supernet_info *myinfo,struct iguana_chain *chain,c
conf[0] = 0;
else safecopy(conf,jstr(argjson,"conf"),sizeof(conf));
if ( conf[0] != 0 )
printf("CONF.(%s)\n",conf);
printf("PATH.(%s) CONF.(%s)\n",path!=0?path:"",conf);
safecopy(chain->name,jstr(argjson,"name"),sizeof(chain->name));
//chain->dust = j64bits(argjson,"dust");
if ( jobj(argjson,"txfee_satoshis") != 0 )

Loading…
Cancel
Save