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

Method handleLoadWallet

src/interfaces/node.cpp:250–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 return MakeHandler(::uiInterface.ShowProgress.connect(fn));
249 }
250 std::unique_ptr<Handler> handleLoadWallet(LoadWalletFn fn) override
251 {
252 CHECK_WALLET(
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));

Callers 2

initializeResultMethod · 0.80

Calls 1

MakeWalletFunction · 0.85

Tested by

no test coverage detected