diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index cdf4fd669..6654c8c9d 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -674,10 +674,12 @@ TWO_STRINGS(dex,kvsearch,symbol,key) return(_dex_kvsearch(myinfo,symbol,key)); } -THREE_STRINGS_AND_THREE_INTS(dex,kvupdate,symbol,key,value,flags,unused,unusedb) +/*THREE_STRINGS_AND_THREE_INTS(dex,kvupdate,symbol,key,value,flags,unused,unusedb) { return(_dex_kvupdate(myinfo,symbol,key,value,flags)); } + need to have some micropayments between client/server, otherwise receiving server incurs costs + */ #include "../includes/iguana_apiundefs.h" diff --git a/iguana/tests/dexkvsearch b/iguana/tests/dexkvsearch new file mode 100755 index 000000000..3c14a2beb --- /dev/null +++ b/iguana/tests/dexkvsearch @@ -0,0 +1,2 @@ +#!/bin/bash +curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvsearch\",\"key\":\"foo\",\"symbol\":\"KMD\"}" diff --git a/iguana/tests/dexkvupdate b/iguana/tests/dexkvupdate new file mode 100755 index 000000000..e996ff5ec --- /dev/null +++ b/iguana/tests/dexkvupdate @@ -0,0 +1,2 @@ +#!/bin/bash +curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"kvupdate\",\"key\":\"foo\",\"value\":\"$1\",\"flags\":0,\"symbol\":\"KMD\"}" diff --git a/includes/iguana_apideclares.h b/includes/iguana_apideclares.h index cd70955cb..ee87e806d 100755 --- a/includes/iguana_apideclares.h +++ b/includes/iguana_apideclares.h @@ -40,7 +40,7 @@ TWO_STRINGS(dex,validateaddress,symbol,address); TWO_STRINGS(dex,listunspent,symbol,address); TWO_STRINGS_AND_TWO_DOUBLES(dex,listtransactions,symbol,address,count,skip); TWO_STRINGS(dex,kvsearch,symbol,key); -THREE_STRINGS_AND_THREE_INTS(dex,kvupdate,symbol,key,value,flags,unused,unusedb); +//THREE_STRINGS_AND_THREE_INTS(dex,kvupdate,symbol,key,value,flags,unused,unusedb); TWO_STRINGS(zcash,passthru,function,hex); TWO_STRINGS(komodo,passthru,function,hex);