Browse Source

Test

etomic
jl777 8 years ago
parent
commit
63eb80661b
  1. 4
      iguana/tests/dexkvsearch
  2. 2
      includes/iguana_apideclares.h

4
iguana/tests/dexkvsearch

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
#curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"foo\",\"symbol\":\"KMD\"}" #curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"foo\",\"symbol\":\"KMD\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"test\",\"symbol\":\"KV\"}" #curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"test\",\"symbol\":\"KV\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"777\",\"symbol\":\"KV\"}" curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"2aa52428-fd9df866\",\"symbol\":\"KV\"}"

2
includes/iguana_apideclares.h

@ -196,7 +196,7 @@ STRING_AND_INT(iguana,bundlehashes,activecoin,height);
STRING_AND_INT(iguana,PoSweights,activecoin,height); STRING_AND_INT(iguana,PoSweights,activecoin,height);
STRING_ARG(iguana,stakers,activecoin); STRING_ARG(iguana,stakers,activecoin);
//STRING_ARG(jumblr,setpassphrase,passphrase); STRING_ARG(jumblr,setpassphrase,passphrase);
ZERO_ARGS(jumblr,status); ZERO_ARGS(jumblr,status);
ZERO_ARGS(jumblr,runsilent); ZERO_ARGS(jumblr,runsilent);
ZERO_ARGS(jumblr,totransparent); ZERO_ARGS(jumblr,totransparent);

Loading…
Cancel
Save