aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-08-03 13:08:34 +0200
committerPieter Wuille <pieterw@google.com>2013-08-15 23:55:35 +0200
commit2461aba1ac4e0673ed0568713b48e4bb37c8b041 (patch)
tree354795fad656bcf84a1edb174b1538dba263bb32 /src/chainparams.h
parentf0784ac470a5541343e7985ceb0cb3c28d9a964e (diff)
Mempool consistency check
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index 572712b589..2592ad1b13 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -99,4 +99,8 @@ inline bool TestNet() {
return Params().NetworkID() == CChainParams::TESTNET;
}
+inline bool RegTest() {
+ return Params().NetworkID() == CChainParams::REGTEST;
+}
+
#endif