MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / RegisterValidationInterface

Function RegisterValidationInterface

src/validationinterface.cpp:142–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void RegisterValidationInterface(CValidationInterface *callbacks) {
143 // Create a shared_ptr with a no-op deleter - CValidationInterface lifecycle
144 // is managed by the caller.
145 RegisterSharedValidationInterface(
146 {callbacks, [](CValidationInterface *) {}});
147}
148
149void UnregisterSharedValidationInterface(
150 std::shared_ptr<CValidationInterface> callbacks) {

Callers 3

RegisterMethod · 0.85
AppInitMainFunction · 0.85
InitMethod · 0.85

Calls 1

Tested by

no test coverage detected