mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
[fuzz] Enable erlay in process_message(s) targets
This commit is contained in:
parent
5b3f05b7eb
commit
58c2bbdb55
2 changed files with 6 additions and 2 deletions
|
@ -56,7 +56,9 @@ void initialize_process_message()
|
||||||
{
|
{
|
||||||
Assert(GetNumMsgTypes() == getAllNetMessageTypes().size()); // If this fails, add or remove the message type below
|
Assert(GetNumMsgTypes() == getAllNetMessageTypes().size()); // If this fails, add or remove the message type below
|
||||||
|
|
||||||
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
|
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>(
|
||||||
|
/*chain_name=*/CBaseChainParams::REGTEST,
|
||||||
|
/*extra_args=*/{"-txreconciliation"});
|
||||||
g_setup = testing_setup.get();
|
g_setup = testing_setup.get();
|
||||||
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
||||||
MineBlock(g_setup->m_node, CScript() << OP_TRUE);
|
MineBlock(g_setup->m_node, CScript() << OP_TRUE);
|
||||||
|
|
|
@ -23,7 +23,9 @@ const TestingSetup* g_setup;
|
||||||
|
|
||||||
void initialize_process_messages()
|
void initialize_process_messages()
|
||||||
{
|
{
|
||||||
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
|
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>(
|
||||||
|
/*chain_name=*/CBaseChainParams::REGTEST,
|
||||||
|
/*extra_args=*/{"-txreconciliation"});
|
||||||
g_setup = testing_setup.get();
|
g_setup = testing_setup.get();
|
||||||
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
||||||
MineBlock(g_setup->m_node, CScript() << OP_TRUE);
|
MineBlock(g_setup->m_node, CScript() << OP_TRUE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue