MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / RegisterSharedValidationInterface

Method RegisterSharedValidationInterface

src/validationinterface.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void ValidationSignals::RegisterSharedValidationInterface(std::shared_ptr<CValidationInterface> callbacks)
113{
114 // Each connection captures the shared_ptr to ensure that each callback is
115 // executed before the subscriber is destroyed. For more details see #18338.
116 m_internals->Register(std::move(callbacks));
117}
118
119void ValidationSignals::RegisterValidationInterface(CValidationInterface* callbacks)
120{

Callers 9

BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
package_eval.cppFile · 0.80
tx_pool.cppFile · 0.80
submitblockFunction · 0.80
ContextMethod · 0.80
SubmitBlockFunction · 0.80

Calls 1

RegisterMethod · 0.80

Tested by 3

BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64