MCPcopy Create free account
hub / github.com/ElementsProject/elements / getWallets

Method getWallets

src/wallet/interfaces.cpp:591–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 return paths;
590 }
591 std::vector<std::unique_ptr<Wallet>> getWallets() override
592 {
593 std::vector<std::unique_ptr<Wallet>> wallets;
594 for (const auto& wallet : GetWallets(m_context)) {
595 wallets.emplace_back(MakeWallet(m_context, wallet));
596 }
597 return wallets;
598 }
599 std::unique_ptr<Handler> handleLoadWallet(LoadWalletFn fn) override
600 {
601 return HandleLoadWallet(m_context, std::move(fn));

Callers 3

isMultiwalletMethod · 0.80
incomingTransactionMethod · 0.80
loadMethod · 0.80

Calls 3

GetWalletsFunction · 0.85
emplace_backMethod · 0.80
MakeWalletFunction · 0.70

Tested by

no test coverage detected