| 126 | } |
| 127 | |
| 128 | void 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 | |
| 135 | void UnregisterSharedValidationInterface(std::shared_ptr<CValidationInterface> callbacks) |
| 136 | { |
no test coverage detected