|
|
@ -6,11 +6,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
from test_framework.util import * |
|
|
|
from test_framework.util import * |
|
|
|
from test_framework.mininode import sha256, ripemd160, CTransaction, CTxIn, COutPoint, CTxOut, COIN |
|
|
|
from test_framework.mininode import sha256, CTransaction, CTxIn, COutPoint, CTxOut, COIN, ToHex, FromHex |
|
|
|
from test_framework.address import script_to_p2sh, key_to_p2pkh |
|
|
|
from test_framework.address import script_to_p2sh, key_to_p2pkh |
|
|
|
from test_framework.script import CScript, OP_HASH160, OP_CHECKSIG, OP_0, hash160, OP_EQUAL, OP_DUP, OP_EQUALVERIFY, OP_1, OP_2, OP_CHECKMULTISIG, hash160, OP_TRUE |
|
|
|
from test_framework.script import CScript, OP_HASH160, OP_CHECKSIG, OP_0, hash160, OP_EQUAL, OP_DUP, OP_EQUALVERIFY, OP_1, OP_2, OP_CHECKMULTISIG, OP_TRUE |
|
|
|
from io import BytesIO |
|
|
|
from io import BytesIO |
|
|
|
from test_framework.mininode import ToHex, FromHex, COIN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NODE_0 = 0 |
|
|
|
NODE_0 = 0 |
|
|
|
NODE_1 = 1 |
|
|
|
NODE_1 = 1 |
|
|
|