diff options
| author | langerhans <[email protected]> | 2015-08-01 19:29:20 +0200 |
|---|---|---|
| committer | langerhans <[email protected]> | 2015-08-01 19:29:20 +0200 |
| commit | b240f79b7428b7dedbfb7a46828dff884e338dd2 (patch) | |
| tree | 831cd861aa3b756a93b88886479bdbd6ded99aec /src/chainparams.cpp | |
| parent | Merge pull request #1217 from rnicoll/1.10-checkpoints-seeds (diff) | |
| download | discoin-b240f79b7428b7dedbfb7a46828dff884e338dd2.tar.xz discoin-b240f79b7428b7dedbfb7a46828dff884e338dd2.zip | |
Set regtest coinbase maturity for easier maths in RPC tests
Diffstat (limited to 'src/chainparams.cpp')
| -rw-r--r-- | src/chainparams.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 0b72eef86..c98a4b7e4 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -287,6 +287,7 @@ public: consensus.fStrictChainId = true; consensus.fAllowLegacyBlocks = false; // Never allow legacy blocks on RegTest consensus.fSimplifiedRewards = true; + consensus.nCoinbaseMaturity = 60; // For easier testability in RPC tests // Reset links before we copy parameters consensus.pLeft = NULL; |