MCPcopy Create free account
hub / github.com/ElementsProject/elements / create_big_chain

Method create_big_chain

test/functional/feature_pruning.py:117–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 self.import_deterministic_coinbase_privkeys()
116
117 def create_big_chain(self):
118 # Start by creating some coinbases we can spend later
119 self.generate(self.nodes[1], 200, sync_fun=lambda: self.sync_blocks(self.nodes[0:2]))
120 self.generate(self.nodes[0], 150, sync_fun=self.no_op)
121
122 # Then mine enough full blocks to create more than 550MiB of data
123 mine_large_blocks(self.nodes[0], 645)
124
125 self.sync_blocks(self.nodes[0:5])
126
127 def test_invalid_command_line_options(self):
128 self.nodes[0].assert_start_raises_init_error(

Callers 1

run_testMethod · 0.95

Calls 3

mine_large_blocksFunction · 0.85
generateMethod · 0.45
sync_blocksMethod · 0.45

Tested by

no test coverage detected