aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-24 17:55:58 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-06-21 16:45:16 -0400
commitfa89badf887dcc01e5bdece248b5e7d234fee227 (patch)
tree67297d1686f89e7f202979cdda735132f9a65bdf /src/chainparams.h
parentfa9b4191609c3ef75e69d391eb91e4d5c1e0bcf5 (diff)
test: Require standard txs in regtest
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index efca8d184b..b3fcd77cea 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -66,6 +66,8 @@ public:
bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; }
/** Policy: Filter transactions that do not match well-defined patterns */
bool RequireStandard() const { return fRequireStandard; }
+ /** If this is a test chain */
+ bool IsTestChain() const { return m_is_test_chain; }
uint64_t PruneAfterHeight() const { return nPruneAfterHeight; }
/** Minimum free space (in GB) needed for data directory */
uint64_t AssumedBlockchainSize() const { return m_assumed_blockchain_size; }
@@ -101,6 +103,7 @@ protected:
std::vector<SeedSpec6> vFixedSeeds;
bool fDefaultConsistencyChecks;
bool fRequireStandard;
+ bool m_is_test_chain;
CCheckpointData checkpointData;
ChainTxData chainTxData;
bool m_fallback_fee_enabled;