| 117 | } |
| 118 | |
| 119 | void ValidationSignals::RegisterValidationInterface(CValidationInterface* callbacks) |
| 120 | { |
| 121 | // Create a shared_ptr with a no-op deleter - CValidationInterface lifecycle |
| 122 | // is managed by the caller. |
| 123 | RegisterSharedValidationInterface({callbacks, [](CValidationInterface*){}}); |
| 124 | } |
| 125 | |
| 126 | void ValidationSignals::UnregisterSharedValidationInterface(std::shared_ptr<CValidationInterface> callbacks) |
| 127 | { |
no outgoing calls