diff options
| author | Gavin Andresen <[email protected]> | 2013-08-15 18:51:06 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-08-15 18:51:06 -0700 |
| commit | 9be4cff5f683d8d4b151a76c598e22e22ba63049 (patch) | |
| tree | f73cb1fd1e21ef1e41235c4ebf1dcd074aef0707 /src/chainparams.h | |
| parent | Merge pull request #2131 from sipa/evens (diff) | |
| parent | Mempool consistency check (diff) | |
| download | discoin-9be4cff5f683d8d4b151a76c598e22e22ba63049.tar.xz discoin-9be4cff5f683d8d4b151a76c598e22e22ba63049.zip | |
Merge pull request #2876 from sipa/fixreorgcrash
Fix reorganization crash
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 1930e49af..0dac79aed 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 |