mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
util, refactor: Improve headers for bitcoin-wallet tool
This commit is contained in:
parent
e77d9679fd
commit
3431839c33
3 changed files with 16 additions and 2 deletions
|
@ -8,14 +8,21 @@
|
||||||
|
|
||||||
#include <chainparams.h>
|
#include <chainparams.h>
|
||||||
#include <chainparamsbase.h>
|
#include <chainparamsbase.h>
|
||||||
|
#include <clientversion.h>
|
||||||
#include <interfaces/init.h>
|
#include <interfaces/init.h>
|
||||||
|
#include <key.h>
|
||||||
#include <logging.h>
|
#include <logging.h>
|
||||||
|
#include <pubkey.h>
|
||||||
|
#include <tinyformat.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <util/url.h>
|
#include <util/url.h>
|
||||||
#include <wallet/wallettool.h>
|
#include <wallet/wallettool.h>
|
||||||
|
|
||||||
|
#include <exception>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <string>
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
|
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
|
||||||
UrlDecodeFn* const URL_DECODE = nullptr;
|
UrlDecodeFn* const URL_DECODE = nullptr;
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
#if defined(HAVE_CONFIG_H)
|
||||||
|
#include <config/bitcoin-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <wallet/wallettool.h>
|
||||||
|
|
||||||
#include <fs.h>
|
#include <fs.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
|
@ -5,11 +5,12 @@
|
||||||
#ifndef BITCOIN_WALLET_WALLETTOOL_H
|
#ifndef BITCOIN_WALLET_WALLETTOOL_H
|
||||||
#define BITCOIN_WALLET_WALLETTOOL_H
|
#define BITCOIN_WALLET_WALLETTOOL_H
|
||||||
|
|
||||||
#include <wallet/wallet.h>
|
#include <string>
|
||||||
|
|
||||||
|
class ArgsManager;
|
||||||
|
|
||||||
namespace WalletTool {
|
namespace WalletTool {
|
||||||
|
|
||||||
void WalletShowInfo(CWallet* wallet_instance);
|
|
||||||
bool ExecuteWalletToolFunc(const ArgsManager& args, const std::string& command);
|
bool ExecuteWalletToolFunc(const ArgsManager& args, const std::string& command);
|
||||||
|
|
||||||
} // namespace WalletTool
|
} // namespace WalletTool
|
||||||
|
|
Loading…
Add table
Reference in a new issue