Browse Source

test

etomic
jl777 8 years ago
parent
commit
d740a814b1
  1. 2
      iguana/iguana_notary.c
  2. 2
      iguana/tests/dexlisttransactions
  3. 2
      includes/iguana_apideclares.h

2
iguana/iguana_notary.c

@ -569,7 +569,7 @@ TWO_STRINGS(dex,listunspent,symbol,address)
return(_dex_listunspent(myinfo,symbol,address)); return(_dex_listunspent(myinfo,symbol,address));
} }
TWO_STRINGS_AND_TWO_DOUBLES(dest,listtransactions,symbol,address,count,skip) TWO_STRINGS_AND_TWO_DOUBLES(dex,listtransactions,symbol,address,count,skip)
{ {
return(_dex_listtransactions(myinfo,symbol,address,count,skip)); return(_dex_listtransactions(myinfo,symbol,address,count,skip));
} }

2
iguana/tests/dexlisttransactions

@ -0,0 +1,2 @@
#!/bin/bash
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listtransactions\",\"address\":\"1E2ac2gxeFR2ir1H3vqETTperWkiXkwy99\",\"count\":100,\"skip\":0,\"symbol\":\"BTC\"}"

2
includes/iguana_apideclares.h

@ -31,7 +31,7 @@ HASH_AND_STRING_AND_INT(dex,gettxout,txid,symbol,vout);
TWO_STRINGS(dex,importaddress,symbol,address); TWO_STRINGS(dex,importaddress,symbol,address);
TWO_STRINGS(dex,validateaddress,symbol,address); TWO_STRINGS(dex,validateaddress,symbol,address);
TWO_STRINGS(dex,listunspent,symbol,address); TWO_STRINGS(dex,listunspent,symbol,address);
TWO_STRINGS_AND_TWO_DOUBLES(dest,listtransactions,symbol,address,count,skip); TWO_STRINGS_AND_TWO_DOUBLES(dex,listtransactions,symbol,address,count,skip);
TWO_STRINGS(zcash,passthru,function,hex); TWO_STRINGS(zcash,passthru,function,hex);
TWO_STRINGS(komodo,passthru,function,hex); TWO_STRINGS(komodo,passthru,function,hex);

Loading…
Cancel
Save