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

Method getWallets

src/interfaces/node.cpp:222–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 return ::pcoinsTip->GetCoin(output, coin);
221 }
222 std::vector<std::unique_ptr<Wallet>> getWallets() override
223 {
224#ifdef ENABLE_WALLET
225 std::vector<std::unique_ptr<Wallet>> wallets;
226 for (const std::shared_ptr<CWallet>& wallet : GetWallets()) {
227 wallets.emplace_back(MakeWallet(wallet));
228 }
229 return wallets;
230#else
231 throw std::logic_error("Node::getWallets() called in non-wallet build.");
232#endif
233 }
234 std::unique_ptr<Handler> handleInitMessage(InitMessageFn fn) override
235 {
236 return MakeHandler(::uiInterface.InitMessage.connect(fn));

Callers 5

initializeResultMethod · 0.80
isMultiwalletMethod · 0.80
incomingTransactionMethod · 0.80
TestGUIFunction · 0.80

Calls 2

GetWalletsFunction · 0.85
MakeWalletFunction · 0.85

Tested by 2

TestGUIFunction · 0.64