Bitcoin ABC  0.22.12
P2P Digital Currency
wallettool.h
Go to the documentation of this file.
1 // Copyright (c) 2016-2018 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_WALLET_WALLETTOOL_H
6 #define BITCOIN_WALLET_WALLETTOOL_H
7 
8 #include <wallet/wallet.h>
9 
10 namespace WalletTool {
11 
12 std::shared_ptr<CWallet> CreateWallet(const std::string &name,
13  const fs::path &path);
14 std::shared_ptr<CWallet> LoadWallet(const std::string &name,
15  const fs::path &path);
16 void WalletShowInfo(CWallet *wallet_instance);
17 bool ExecuteWalletToolFunc(const std::string &command, const std::string &file);
18 
19 } // namespace WalletTool
20 
21 #endif // BITCOIN_WALLET_WALLETTOOL_H
static std::shared_ptr< CWallet > CreateWallet(const std::string &name, const fs::path &path)
Definition: wallettool.cpp:26
static void WalletShowInfo(CWallet *wallet_instance)
Definition: wallettool.cpp:111
static std::shared_ptr< CWallet > LoadWallet(const std::string &name, const fs::path &path)
Definition: wallettool.cpp:57
const char * name
Definition: rest.cpp:43
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition: wallet.h:679
bool ExecuteWalletToolFunc(const std::string &command, const std::string &name)
Definition: wallettool.cpp:151