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("-regtest", | gArgs.AddArg("-regtest", | ||||
"Enter regression test mode, which uses a special chain in " | "Enter regression test mode, which uses a special chain in " | ||||
Show All 36 Lines |