qa: Avoid start/stop of the network thread mid-test
This commit is contained in:
parent
fa1eac9cdb
commit
fa87da2f17
26 changed files with 95 additions and 220 deletions
test/functional
|
@ -41,7 +41,6 @@ from test_framework.messages import (
|
|||
)
|
||||
from test_framework.mininode import (
|
||||
P2PInterface,
|
||||
network_thread_start,
|
||||
)
|
||||
|
||||
|
||||
|
@ -262,7 +261,6 @@ class BlockchainTest(BitcoinTestFramework):
|
|||
|
||||
# Start a P2P connection since we'll need to create some blocks.
|
||||
node.add_p2p_connection(P2PInterface())
|
||||
network_thread_start()
|
||||
node.p2p.wait_for_verack()
|
||||
|
||||
current_height = node.getblock(node.getbestblockhash())['height']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue