Browse Source

test

etomic
jl777 8 years ago
parent
commit
68d3e8bb15
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_notary.c
  3. 2
      iguana/tests/mvpgetinfo

2
iguana/iguana777.c

@ -844,7 +844,7 @@ To add a new dPoW'ed assetchain with DEX* API support:
3. create fiat/<ac_name> 3. create fiat/<ac_name>
4. add to NOTARYCHAINS[] array in iguana_callcoinstart 4. add to NOTARYCHAINS[] array in iguana_callcoinstart
5. add to m_notary coins/<ac_name> get gen_acname from where komodod was launched, change RELAY:-1 and port to 7776 and make <ac_name>_7776 variant 5. add to m_notary coins/<ac_name> get gen_acname from where komodod was launched, change RELAY:-1 and port to 7776 and make <ac_name>_7776 variant
6. launch from a single node with -gen, launch a second node using -addnode=<ipaddr of 1st node> 6. launch from a single node with -gen, launch a second node using -addnode=<ipaddr of 1st node> but without -gen
7. from a single node, fundnotaries <ac_name> to get notaries able to dPoW 7. from a single node, fundnotaries <ac_name> to get notaries able to dPoW
*/ */

2
iguana/iguana_notary.c

@ -490,7 +490,7 @@ STRING_AND_INT(dpow,fundnotaries,symbol,numblocks)
} }
else return(clonestr("{\"error\":\"cant find BTC\"}")); else return(clonestr("{\"error\":\"cant find BTC\"}"));
} }
for (i=32; i<sizeof(CURRENCIES)/sizeof(*CURRENCIES); i++) for (i=0; i<sizeof(CURRENCIES)/sizeof(*CURRENCIES); i++)
{ {
if ( symbol == 0 || symbol[0] == 0 || strcmp(symbol,CURRENCIES[i]) == 0 ) if ( symbol == 0 || symbol[0] == 0 || strcmp(symbol,CURRENCIES[i]) == 0 )
{ {

2
iguana/tests/mvpgetinfo

@ -0,0 +1,2 @@
#!/bin/bash
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"getinfo\",\"symbol\":\"MVP\"}"
Loading…
Cancel
Save