File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 22# Copyright (c) 2014-2018 The Bitcoin Core developers
33# Distributed under the MIT software license, see the accompanying
44# 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
16+ and test the values returned."""
617from collections import namedtuple
718
819from test_framework .address import (
You can’t perform that action at this time.
0 commit comments