This is the first pull of two to remove the hardcoded 4 nodes from test_framework.py. This includes several benefits, which come for free:
- Each derived test can now set the number of nodes in
__init__()and have the base class deal with setting up the network. This makes the test easier to read and easier for newcomers to get started writing tests, hopefully. - Also,
__init__()is used to specify if the chain should be clean (default=False), instead of calling the util function directly.