MCPcopy Create free account
hub / github.com/ElementsProject/elements / initialize_process_message

Function initialize_process_message

src/test/fuzz/process_message.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55void initialize_process_message()
56{
57 Assert(GetNumMsgTypes() == getAllNetMessageTypes().size()); // If this fails, add or remove the message type below
58
59 static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
60 g_setup = testing_setup.get();
61 for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
62 MineBlock(g_setup->m_node, CScript() << OP_TRUE);
63 }
64 SyncWithValidationInterfaceQueue();
65}
66
67void fuzz_target(FuzzBufferType buffer, const std::string& LIMIT_TO_MESSAGE_TYPE)
68{

Callers

nothing calls this directly

Calls 5

MineBlockFunction · 0.85
CScriptClass · 0.50
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected