Browse Source

Test

etomic
jl777 8 years ago
parent
commit
2329417a0c
  1. 4
      .gitignore
  2. 2
      basilisk/basilisk.c
  3. 2
      iguana/tests/dexkvsearch

4
.gitignore

@ -457,3 +457,7 @@ iguana/DB/LTC/.tmpmarker
iguana/DB/purgeable/LTC/.tmpmarker
iguana/DB/SWAPS/654629381-1010651560
iguana/DB/SWAPS/1780095668-2225891679
iguana/DB/SWAPS/3085356347-2346291696

2
basilisk/basilisk.c

@ -1926,7 +1926,7 @@ INT_ARG(InstantDEX,incoming,requestid)
else
{
jaddstr(retjson,"error","cant do InstantDEX channelget");
char str[65]; printf("error channelget %s %x\n",bits256_str(str,pubkey),msgid);
//char str[65]; printf("error channelget %s %x\n",bits256_str(str,pubkey),msgid);
}
return(jprint(retjson,1));
}

2
iguana/tests/dexkvsearch

@ -1,4 +1,4 @@
#!/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\":\"test\",\"symbol\":\"KV\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"89bb7bb9-e6857af8\",\"symbol\":\"KV\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"ec474661-de713a84\",\"symbol\":\"KV\"}"

Loading…
Cancel
Save