Bitcoin
wallettool.h
Go to the documentation of this file.
1 // Copyright (c) 2016 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/ismine.h>
9 #include <wallet/wallet.h>
10 
11 namespace WalletTool {
12 
13 std::shared_ptr<CWallet> CreateWallet(const std::string& name, const fs::path& path);
14 std::shared_ptr<CWallet> LoadWallet(const std::string& name, const fs::path& path);
15 void WalletShowInfo(CWallet* wallet_instance);
16 bool ExecuteWalletToolFunc(const std::string& command, const std::string& file);
17 
18 } // namespace WalletTool
19 
20 #endif // BITCOIN_WALLET_WALLETTOOL_H
static void WalletShowInfo(CWallet *wallet_instance)
Definition: wallettool.cpp:91
Definition: wallet.h:724
static std::shared_ptr< CWallet > CreateWallet(const std::string &name, const fs::path &path)
Definition: wallettool.cpp:22
const char * name
Definition: rest.cpp:39
bool ExecuteWalletToolFunc(const std::string &command, const std::string &name)
Definition: wallettool.cpp:103
Definition: wallettool.cpp:10
file
Definition: linearize-hashes.py:138
static std::shared_ptr< CWallet > LoadWallet(const std::string &name, const fs::path &path)
Definition: wallettool.cpp:48