MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / handleNotifyNumConnectionsChanged

Method handleNotifyNumConnectionsChanged

src/interfaces/node.cpp:255–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 return MakeHandler(::uiInterface.LoadWallet.connect([fn](std::shared_ptr<CWallet> wallet) { fn(MakeWallet(wallet)); })));
254 }
255 std::unique_ptr<Handler> handleNotifyNumConnectionsChanged(NotifyNumConnectionsChangedFn fn) override
256 {
257 return MakeHandler(::uiInterface.NotifyNumConnectionsChanged.connect(fn));
258 }
259 std::unique_ptr<Handler> handleNotifyNetworkActiveChanged(NotifyNetworkActiveChangedFn fn) override
260 {
261 return MakeHandler(::uiInterface.NotifyNetworkActiveChanged.connect(fn));

Callers 1

Calls 1

MakeHandlerFunction · 0.85

Tested by

no test coverage detected