diff options
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 1930e49afb..0dac79aed4 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -101,4 +101,8 @@ inline bool TestNet() { return Params().NetworkID() == CChainParams::TESTNET; } +inline bool RegTest() { + return Params().NetworkID() == CChainParams::REGTEST; +} + #endif |