2019-12-30 06:39:22 -03:00
|
|
|
// Copyright (c) 2016-2019 The Bitcoin Core developers
|
2016-09-16 11:45:36 -03:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_WALLET_WALLETTOOL_H
|
|
|
|
#define BITCOIN_WALLET_WALLETTOOL_H
|
|
|
|
|
|
|
|
#include <wallet/wallet.h>
|
|
|
|
|
|
|
|
namespace WalletTool {
|
|
|
|
|
|
|
|
std::shared_ptr<CWallet> CreateWallet(const std::string& name, const fs::path& path);
|
|
|
|
std::shared_ptr<CWallet> LoadWallet(const std::string& name, const fs::path& path);
|
|
|
|
void WalletShowInfo(CWallet* wallet_instance);
|
|
|
|
bool ExecuteWalletToolFunc(const std::string& command, const std::string& file);
|
|
|
|
|
|
|
|
} // namespace WalletTool
|
|
|
|
|
|
|
|
#endif // BITCOIN_WALLET_WALLETTOOL_H
|