From 757392e1914abfd7534a2b6d4723778dcfc58c45 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 4 Jul 2016 09:45:38 -0300 Subject: [PATCH] test --- iguana/tests/listunspent | 2 +- iguana/tests/rawtx3 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 iguana/tests/rawtx3 diff --git a/iguana/tests/listunspent b/iguana/tests/listunspent index 58bffcf86..c2af7cd91 100755 --- a/iguana/tests/listunspent +++ b/iguana/tests/listunspent @@ -1 +1 @@ -curl --url "http://127.0.0.1:7778" --data "{\"method\":\"listunspent\",\"params\":[1, 9999999, []]}" +curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTC\",\"method\":\"listunspent\",\"params\":[1, 9999999, []]}" diff --git a/iguana/tests/rawtx3 b/iguana/tests/rawtx3 new file mode 100755 index 000000000..ffa90d8d2 --- /dev/null +++ b/iguana/tests/rawtx3 @@ -0,0 +1,3 @@ +curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTC\",\"agent\":\"basilisk\",\"method\":\"rawtx\",\"vals\":{\"changeaddr\":\"1GQHQ7vwVpGeir2kKrYATsLtrkUQSc7FGY\",\"addresses\":[\"16jsjc1YvzDXqKf7PorMhTyK8ym3ra3uxm\", \"1GQHQ7vwVpGeir2kKrYATsLtrkUQSc7FGY\"],\"timeout\":15000,\"satoshis\":\"20000\",\"spendscript\":\"76a914ca1e04745e8ca0c60d8c5881531d51bec470743f88ac\"}}" + +#{"coin":"BTC","spendscript":"76a914ca1e04745e8ca0c60d8c5881531d51bec470743f88ac","changeaddr":"1GQHQ7vwVpGeir2kKrYATsLtrkUQSc7FGY","satoshis":"331","txfee":"10000","minconf":1,"locktime":0,"timeout":30000,"burn":0.00010000,"addresses":["16jsjc1YvzDXqKf7PorMhTyK8ym3ra3uxm", "1GQHQ7vwVpGeir2kKrYATsLtrkUQSc7FGY"]}