You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/functional/wallet_importmulti.py
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,18 @@
2
2
# Copyright (c) 2014-2018 The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
-
"""Test the importmulti RPC."""
5
+
"""Test the importmulti RPC.
6
+
7
+
Test importmulti by generating keys on node0, importing the scriptPubKeys and
8
+
addresses on node1 and then testing the address info for the different address
9
+
variants.
10
+
11
+
- `get_key()` and `get_multisig()` are called to generate keys on node0 and
12
+
return the privkeys, pubkeys and all variants of scriptPubKey and address.
13
+
- `test_importmulti()` is called to send an importmulti call to node1, test
14
+
success, and (if unsuccessful) test the error code and error message returned.
15
+
- `test_address()` is called to call getaddressinfo for an address on node1
0 commit comments