fc4db35bfd
ListWalletDir returns all available wallets in the current wallet directory. Based on MeshCollider work in pull #11485.
18 lines
487 B
C++
18 lines
487 B
C++
// Copyright (c) 2017-2018 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_WALLET_WALLETUTIL_H
|
|
#define BITCOIN_WALLET_WALLETUTIL_H
|
|
|
|
#include <fs.h>
|
|
|
|
#include <vector>
|
|
|
|
//! Get the path of the wallet directory.
|
|
fs::path GetWalletDir();
|
|
|
|
//! Get wallets in wallet directory.
|
|
std::vector<fs::path> ListWalletDir();
|
|
|
|
#endif // BITCOIN_WALLET_WALLETUTIL_H
|