]> Untitled Git - bdk/commitdiff
Missing test file
authorAlekos Filini <alekos.filini@gmail.com>
Mon, 3 Feb 2020 09:23:00 +0000 (10:23 +0100)
committerAlekos Filini <alekos.filini@gmail.com>
Mon, 3 Feb 2020 09:23:00 +0000 (10:23 +0100)
core/electrum_client/test_data/batch_script_list_unspent.in [new file with mode: 0644]
core/electrum_client/test_data/batch_script_list_unspent.out [new file with mode: 0644]

diff --git a/core/electrum_client/test_data/batch_script_list_unspent.in b/core/electrum_client/test_data/batch_script_list_unspent.in
new file mode 100644 (file)
index 0000000..1614544
--- /dev/null
@@ -0,0 +1,2 @@
+{"id":1,"jsonrpc":"2.0","result":[{"height":0,"tx_hash":"83f5de2e6d7dfd5b582a5b2a3de4a5adb32c9cdca91473cf1fbcba76d56e4486","tx_pos":1,"value":100000000}]}
+{"id":0,"jsonrpc":"2.0","result":[{"height":0,"tx_hash":"eb07e5d67565bad5231fd5aeeb16d0c2c53371265690642b943aa24c83ecae1d","tx_pos":0,"value":300000000},{"height":0,"tx_hash":"824f9a426d4b6a9b23c52901754a01017f3113ffdf3ed20c02747db85b161a40","tx_pos":0,"value":100000000}]}
diff --git a/core/electrum_client/test_data/batch_script_list_unspent.out b/core/electrum_client/test_data/batch_script_list_unspent.out
new file mode 100644 (file)
index 0000000..24cf316
--- /dev/null
@@ -0,0 +1,2 @@
+{"jsonrpc":"2.0","id":0,"method":"blockchain.scripthash.listunspent","params":["c60b02f19c2053efedddb804024edd3f05f181ac2f828384dff40d072d25d962"]}
+{"jsonrpc":"2.0","id":1,"method":"blockchain.scripthash.listunspent","params":["97897cdd5b98fab0b99aa5f861cee45c597a1ab2fe90ea1a7cf234b029eb5883"]}