MCPcopy Create free account
hub / github.com/LUX-Core/lux / setup_nodes

Method setup_nodes

test/functional/test_framework/test_framework.py:208–214  ·  view source on GitHub ↗

Override this method to customize test node setup

(self)

Source from the content-addressed store, hash-verified

206 self.sync_all()
207
208 def setup_nodes(self):
209 """Override this method to customize test node setup"""
210 extra_args = None
211 if hasattr(self, "extra_args"):
212 extra_args = self.extra_args
213 self.add_nodes(self.num_nodes, extra_args)
214 self.start_nodes()
215
216 def run_test(self):
217 """Tests must override this method to define test logic"""

Callers 1

setup_networkMethod · 0.95

Calls 2

add_nodesMethod · 0.95
start_nodesMethod · 0.95

Tested by

no test coverage detected