test: Add arguments for creating a slimmer setup

Adds more testing options for creating an environment without networking
and a validation interface. This is useful for improving the performance
of the utxo snapshot fuzz test, which constructs a new TestingSetup on
each iteration.
This commit is contained in:
TheCharlatan
2024-07-04 21:43:16 +02:00
parent ec74f45741
commit 9e2a723d5d
3 changed files with 17 additions and 5 deletions

View File

@@ -52,6 +52,8 @@ struct TestOpts {
std::vector<const char*> extra_args{};
bool coins_db_in_memory{true};
bool block_tree_db_in_memory{true};
bool setup_net{true};
bool setup_validation_interface{true};
};
/** Basic testing setup.