diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-08-03 13:08:34 +0200 |
---|---|---|
committer | Pieter Wuille <pieterw@google.com> | 2013-08-15 23:55:35 +0200 |
commit | 2461aba1ac4e0673ed0568713b48e4bb37c8b041 (patch) | |
tree | 354795fad656bcf84a1edb174b1538dba263bb32 /src/chainparams.h | |
parent | f0784ac470a5541343e7985ceb0cb3c28d9a964e (diff) |
Mempool consistency check
Diffstat (limited to 'src/chainparams.h')
-rw-r--r-- | src/chainparams.h | 4 |
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 |