| 174 | */ |
| 175 | template <class T = const BasicTestingSetup> |
| 176 | std::unique_ptr<T> MakeNoLogFileContext(const std::string& chain_name = CBaseChainParams::REGTEST, const std::string& fedpegscript = "", const std::vector<const char*>& extra_args = {}) |
| 177 | { |
| 178 | const std::vector<const char*> arguments = Cat( |
| 179 | { |
| 180 | "-nodebuglogfile", |
| 181 | "-nodebug", |
| 182 | }, |
| 183 | extra_args); |
| 184 | |
| 185 | return std::make_unique<T>(chain_name, fedpegscript, arguments); |
| 186 | } |
| 187 | |
| 188 | class CTxMemPoolEntry; |
| 189 |