Changeset View
Changeset View
Standalone View
Standalone View
src/chainparamsbase.cpp
// Copyright (c) 2010 Satoshi Nakamoto | // Copyright (c) 2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2015 The Bitcoin Core developers | // Copyright (c) 2009-2015 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. | ||||
#include "chainparamsbase.h" | #include "chainparamsbase.h" | ||||
#include "tinyformat.h" | #include "tinyformat.h" | ||||
#include "util.h" | #include "util.h" | ||||
#include <assert.h> | #include <cassert> | ||||
const std::string CBaseChainParams::MAIN = "main"; | const std::string CBaseChainParams::MAIN = "main"; | ||||
const std::string CBaseChainParams::TESTNET = "test"; | const std::string CBaseChainParams::TESTNET = "test"; | ||||
const std::string CBaseChainParams::REGTEST = "regtest"; | const std::string CBaseChainParams::REGTEST = "regtest"; | ||||
void AppendParamsHelpMessages(std::string &strUsage, bool debugHelp) { | void AppendParamsHelpMessages(std::string &strUsage, bool debugHelp) { | ||||
strUsage += HelpMessageGroup(_("Chain selection options:")); | strUsage += HelpMessageGroup(_("Chain selection options:")); | ||||
strUsage += HelpMessageOpt("-testnet", _("Use the test chain")); | strUsage += HelpMessageOpt("-testnet", _("Use the test chain")); | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |