aboutsummaryrefslogtreecommitdiff
path: root/src/chainparamsbase.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2018-06-16 22:38:13 +0200
committerJorge Timón <jtimon@jtimon.cc>2018-09-23 22:58:54 +0200
commit6fa901fb4726ddac025d5396ecf09d047a8aa9a1 (patch)
treeefd5ec896f8f8542eeb6a5649118a22858de609d /src/chainparamsbase.cpp
parent980b38f8a12130d2761d0f748db750165cfed025 (diff)
Don't edit Chainparams after initialization
Diffstat (limited to 'src/chainparamsbase.cpp')
-rw-r--r--src/chainparamsbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp
index e9e8ce03b4..870640e77d 100644
--- a/src/chainparamsbase.cpp
+++ b/src/chainparamsbase.cpp
@@ -20,6 +20,7 @@ void SetupChainParamsBaseOptions()
gArgs.AddArg("-regtest", "Enter regression test mode, which uses a special chain in which blocks can be solved instantly. "
"This is intended for regression testing tools and app development.", true, OptionsCategory::CHAINPARAMS);
gArgs.AddArg("-testnet", "Use the test chain", false, OptionsCategory::CHAINPARAMS);
+ gArgs.AddArg("-vbparams=deployment:start:end", "Use given start/end times for specified version bits deployment (regtest-only)", true, OptionsCategory::CHAINPARAMS);
}
static std::unique_ptr<CBaseChainParams> globalChainBaseParams;