Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoin-wallet.cpp
// Copyright (c) 2016-2018 The Bitcoin Core developers | // Copyright (c) 2016-2018 The Bitcoin Core developers | ||||
// 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) | #if defined(HAVE_CONFIG_H) | ||||
#include <config/bitcoin-config.h> | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <chainparamsbase.h> | #include <chainparamsbase.h> | ||||
#include <consensus/consensus.h> | #include <consensus/consensus.h> | ||||
#include <logging.h> | #include <logging.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <util/translation.h> | |||||
#include <wallet/wallettool.h> | #include <wallet/wallettool.h> | ||||
#include <cstdio> | #include <cstdio> | ||||
#include <functional> | |||||
const std::function<std::string(const char *)> G_TRANSLATION_FUN = nullptr; | const std::function<std::string(const char *)> G_TRANSLATION_FUN = nullptr; | ||||
static void SetupWalletToolArgs() { | static void SetupWalletToolArgs() { | ||||
SetupChainParamsBaseOptions(); | SetupChainParamsBaseOptions(); | ||||
gArgs.AddArg("-?", "This help message", ArgsManager::ALLOW_ANY, | gArgs.AddArg("-?", "This help message", ArgsManager::ALLOW_ANY, | ||||
OptionsCategory::OPTIONS); | OptionsCategory::OPTIONS); | ||||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |