mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
fuzz: Disable debug log file
This commit is contained in:
@@ -57,12 +57,17 @@ const std::map<std::string, std::set<std::string>> EXPECTED_DESERIALIZATION_EXCE
|
|||||||
{"Unknown transaction optional data: iostream error", {"block", "blocktxn", "cmpctblock", "tx"}},
|
{"Unknown transaction optional data: iostream error", {"block", "blocktxn", "cmpctblock", "tx"}},
|
||||||
};
|
};
|
||||||
|
|
||||||
const RegTestingSetup* g_setup;
|
const TestingSetup* g_setup;
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
void initialize()
|
void initialize()
|
||||||
{
|
{
|
||||||
static RegTestingSetup setup{};
|
static TestingSetup setup{
|
||||||
|
CBaseChainParams::REGTEST,
|
||||||
|
{
|
||||||
|
"-nodebuglogfile",
|
||||||
|
},
|
||||||
|
};
|
||||||
g_setup = &setup;
|
g_setup = &setup;
|
||||||
|
|
||||||
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
||||||
|
|||||||
@@ -16,11 +16,16 @@
|
|||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
#include <validationinterface.h>
|
#include <validationinterface.h>
|
||||||
|
|
||||||
const RegTestingSetup* g_setup;
|
const TestingSetup* g_setup;
|
||||||
|
|
||||||
void initialize()
|
void initialize()
|
||||||
{
|
{
|
||||||
static RegTestingSetup setup{};
|
static TestingSetup setup{
|
||||||
|
CBaseChainParams::REGTEST,
|
||||||
|
{
|
||||||
|
"-nodebuglogfile",
|
||||||
|
},
|
||||||
|
};
|
||||||
g_setup = &setup;
|
g_setup = &setup;
|
||||||
|
|
||||||
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user