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

Method getWallets

src/wallet/interfaces.cpp:645–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643 return paths;
644 }
645 std::vector<std::unique_ptr<Wallet>> getWallets() override
646 {
647 std::vector<std::unique_ptr<Wallet>> wallets;
648 for (const auto& wallet : GetWallets(m_context)) {
649 wallets.emplace_back(MakeWallet(m_context, wallet));
650 }
651 return wallets;
652 }
653 std::unique_ptr<Handler> handleLoadWallet(LoadWalletFn fn) override
654 {
655 return HandleLoadWallet(m_context, std::move(fn));

Callers 3

isMultiwalletMethod · 0.80
incomingTransactionMethod · 0.80
loadMethod · 0.80

Calls 3

GetWalletsFunction · 0.85
MakeWalletFunction · 0.70
emplace_backMethod · 0.45

Tested by

no test coverage detected