diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-02-06 20:17:28 -0800 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-02-13 08:59:51 -0800 |
commit | 930d8375421451c8c4127608c360b0f6a0a62127 (patch) | |
tree | 9ffebf73b63f794531014add1d3e87475f33659a /src/chainparams.cpp | |
parent | 1cd43e83c6e8d81e950aaaede7a8a51505d0a2bc (diff) |
[test] add chainparams property to indicate chain allows time mocking
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r-- | src/chainparams.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 31592b0f0a..a9183ac970 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -135,6 +135,7 @@ public: fDefaultConsistencyChecks = false; fRequireStandard = true; m_is_test_chain = false; + m_is_mockable_chain = false; checkpointData = { { @@ -231,7 +232,7 @@ public: fDefaultConsistencyChecks = false; fRequireStandard = false; m_is_test_chain = true; - + m_is_mockable_chain = false; checkpointData = { { @@ -303,6 +304,7 @@ public: fDefaultConsistencyChecks = true; fRequireStandard = true; m_is_test_chain = true; + m_is_mockable_chain = true; checkpointData = { { |