Changeset View
Changeset View
Standalone View
Standalone View
test/functional/mempool_persist.py
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
) | ) | ||||
class MempoolPersistTest(BitcoinTestFramework): | class MempoolPersistTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 3 | self.num_nodes = 3 | ||||
self.extra_args = [[], ["-persistmempool=0"], []] | self.extra_args = [[], ["-persistmempool=0"], []] | ||||
def skip_test_if_missing_module(self): | |||||
self.skip_if_no_wallet() | |||||
def run_test(self): | def run_test(self): | ||||
chain_height = self.nodes[0].getblockcount() | chain_height = self.nodes[0].getblockcount() | ||||
assert_equal(chain_height, 200) | assert_equal(chain_height, 200) | ||||
self.log.debug("Mine a single block to get out of IBD") | self.log.debug("Mine a single block to get out of IBD") | ||||
self.nodes[0].generate(1) | self.nodes[0].generate(1) | ||||
self.sync_all() | self.sync_all() | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |