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

Method listWalletDir

src/wallet/interfaces.cpp:637–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 return fs::PathToString(GetWalletDir());
636 }
637 std::vector<std::pair<std::string, std::string>> listWalletDir() override
638 {
639 std::vector<std::pair<std::string, std::string>> paths;
640 for (auto& [path, format] : ListDatabases(GetWalletDir())) {
641 paths.emplace_back(fs::PathToString(path), format);
642 }
643 return paths;
644 }
645 std::vector<std::unique_ptr<Wallet>> getWallets() override
646 {
647 std::vector<std::unique_ptr<Wallet>> wallets;

Callers

nothing calls this directly

Calls 4

ListDatabasesFunction · 0.85
GetWalletDirFunction · 0.85
PathToStringFunction · 0.85
emplace_backMethod · 0.45

Tested by

no test coverage detected