Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc-p2p-compactblocks.py
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | def on_headers(self, conn, message): | ||||
x.calc_sha256() | x.calc_sha256() | ||||
def clear_block_data(self): | def clear_block_data(self): | ||||
with mininode_lock: | with mininode_lock: | ||||
self.last_sendcmpct = None | self.last_sendcmpct = None | ||||
self.last_cmpctblock = None | self.last_cmpctblock = None | ||||
@extended | @tags('slow') | ||||
class FullBlockTest(ComparisonTestFramework): | class FullBlockTest(ComparisonTestFramework): | ||||
# Can either run this test as 1 node with expected answers, or two and compare them. | # Can either run this test as 1 node with expected answers, or two and compare them. | ||||
# Change the "outcome" variable from each TestInstance object to only do | # Change the "outcome" variable from each TestInstance object to only do | ||||
# the comparison. | # the comparison. | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
▲ Show 20 Lines • Show All 288 Lines • Show Last 20 Lines |