mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Merge #9744: Remove unused module from rpc-tests
a432aa0
Remove unused module from rpc-tests (Takashi Mitsuta)
This commit is contained in:
commit
8efd1c820b
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
from test_framework.test_framework import ComparisonTestFramework
|
from test_framework.test_framework import ComparisonTestFramework
|
||||||
from test_framework.util import *
|
from test_framework.util import *
|
||||||
from test_framework.mininode import ToHex, CTransaction, NetworkThread
|
from test_framework.mininode import ToHex, NetworkThread
|
||||||
from test_framework.blocktools import create_coinbase, create_block
|
from test_framework.blocktools import create_coinbase, create_block
|
||||||
from test_framework.comptool import TestInstance, TestManager
|
from test_framework.comptool import TestInstance, TestManager
|
||||||
from test_framework.script import *
|
from test_framework.script import *
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
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.script import *
|
|
||||||
from test_framework.mininode import *
|
|
||||||
from test_framework.blocktools import *
|
from test_framework.blocktools import *
|
||||||
|
|
||||||
SEQUENCE_LOCKTIME_DISABLE_FLAG = (1<<31)
|
SEQUENCE_LOCKTIME_DISABLE_FLAG = (1<<31)
|
||||||
|
@ -8,10 +8,8 @@ from test_framework.test_framework import BitcoinTestFramework
|
|||||||
from test_framework import blocktools
|
from test_framework import blocktools
|
||||||
from test_framework.mininode import CTransaction
|
from test_framework.mininode import CTransaction
|
||||||
from test_framework.util import *
|
from test_framework.util import *
|
||||||
from test_framework.util import *
|
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import time
|
|
||||||
|
|
||||||
# Sequence number that is BIP 125 opt-in and BIP 68-compliant
|
# Sequence number that is BIP 125 opt-in and BIP 68-compliant
|
||||||
BIP125_SEQUENCE_NUMBER = 0xfffffffd
|
BIP125_SEQUENCE_NUMBER = 0xfffffffd
|
||||||
|
@ -7,7 +7,6 @@ from test_framework.mininode import *
|
|||||||
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.blocktools import create_block, create_coinbase, add_witness_commitment
|
from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment
|
||||||
from test_framework.siphash import siphash256
|
|
||||||
from test_framework.script import CScript, OP_TRUE
|
from test_framework.script import CScript, OP_TRUE
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
@ -3,17 +3,11 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
from decimal import Decimal
|
|
||||||
|
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.authproxy import JSONRPCException
|
|
||||||
from test_framework.util import (
|
from test_framework.util import (
|
||||||
assert_equal,
|
assert_equal,
|
||||||
assert_raises_jsonrpc,
|
assert_raises_jsonrpc,
|
||||||
assert_is_hex_string,
|
|
||||||
assert_is_hash_string,
|
|
||||||
start_nodes,
|
start_nodes,
|
||||||
connect_nodes_bi,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.util import (
|
from test_framework.util import (
|
||||||
start_nodes,
|
start_nodes,
|
||||||
start_node,
|
|
||||||
assert_equal,
|
assert_equal,
|
||||||
connect_nodes_bi,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user