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

Function RegisterValidationInterface

src/validationinterface.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void RegisterValidationInterface(CValidationInterface* callbacks)
129{
130 // Create a shared_ptr with a no-op deleter - CValidationInterface lifecycle
131 // is managed by the caller.
132 RegisterSharedValidationInterface({callbacks, [](CValidationInterface*){}});
133}
134
135void UnregisterSharedValidationInterface(std::shared_ptr<CValidationInterface> callbacks)
136{

Callers 2

AppInitMainFunction · 0.85
StartMethod · 0.85

Calls 1

Tested by

no test coverage detected