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

Function RegisterSharedValidationInterface

src/validationinterface.cpp:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void RegisterSharedValidationInterface(std::shared_ptr<CValidationInterface> callbacks)
122{
123 // Each connection captures the shared_ptr to ensure that each callback is
124 // executed before the subscriber is destroyed. For more details see #18338.
125 g_signals.m_internals->Register(std::move(callbacks));
126}
127
128void RegisterValidationInterface(CValidationInterface* callbacks)
129{

Callers 6

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85
submitblockFunction · 0.85

Calls 1

RegisterMethod · 0.80

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGET_INITFunction · 0.68