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/system.h> | #include <util/system.h> | ||||
#include <cassert> | #include <cassert> | ||||
#include <memory> | |||||
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 SetupChainParamsBaseOptions() { | void SetupChainParamsBaseOptions() { | ||||
gArgs.AddArg("-chain=<chain>", | gArgs.AddArg("-chain=<chain>", | ||||
"Use the chain <chain> (default: main). Allowed values: main, " | "Use the chain <chain> (default: main). Allowed values: main, " | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |