Changeset View
Changeset View
Standalone View
Standalone View
test/functional/p2p_fingerprint.py
Show All 16 Lines | from test_framework.mininode import ( | ||||
msg_headers, | msg_headers, | ||||
msg_block, | msg_block, | ||||
msg_getdata, | msg_getdata, | ||||
msg_getheaders, | msg_getheaders, | ||||
network_thread_start, | network_thread_start, | ||||
wait_until, | wait_until, | ||||
) | ) | ||||
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_equal | ||||
assert_equal, | |||||
p2p_port, | |||||
) | |||||
class P2PFingerprintTest(BitcoinTestFramework): | class P2PFingerprintTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
# Build a chain of blocks on top of given one | # Build a chain of blocks on top of given one | ||||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |