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

Method NotificationsHandlerImpl

src/node/interfaces.cpp:502–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500{
501public:
502 explicit NotificationsHandlerImpl(ValidationSignals& signals, std::shared_ptr<Chain::Notifications> notifications)
503 : m_signals{signals}, m_proxy{std::make_shared<NotificationsProxy>(std::move(notifications))}
504 {
505 m_signals.RegisterSharedValidationInterface(m_proxy);
506 }
507 ~NotificationsHandlerImpl() override { disconnect(); }
508 void disconnect() override
509 {

Callers

nothing calls this directly

Tested by

no test coverage detected