|
|
@ -3,21 +3,20 @@
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
"""Test multisig RPCs"""
|
|
|
|
"""Test multisig RPCs"""
|
|
|
|
|
|
|
|
import binascii
|
|
|
|
|
|
|
|
import decimal
|
|
|
|
|
|
|
|
import itertools
|
|
|
|
|
|
|
|
import json
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
from test_framework.authproxy import JSONRPCException
|
|
|
|
from test_framework.authproxy import JSONRPCException
|
|
|
|
from test_framework.descriptors import descsum_create, drop_origins
|
|
|
|
from test_framework.descriptors import descsum_create, drop_origins
|
|
|
|
|
|
|
|
from test_framework.key import ECPubKey, ECKey, bytes_to_wif
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework
|
|
|
|
from test_framework.util import (
|
|
|
|
from test_framework.util import (
|
|
|
|
assert_raises_rpc_error,
|
|
|
|
assert_raises_rpc_error,
|
|
|
|
assert_equal,
|
|
|
|
assert_equal,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
from test_framework.key import ECPubKey, ECKey, bytes_to_wif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import binascii
|
|
|
|
|
|
|
|
import decimal
|
|
|
|
|
|
|
|
import itertools
|
|
|
|
|
|
|
|
import json
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RpcCreateMultiSigTest(BitcoinTestFramework):
|
|
|
|
class RpcCreateMultiSigTest(BitcoinTestFramework):
|
|
|
|
def set_test_params(self):
|
|
|
|
def set_test_params(self):
|
|
|
|