aboutsummaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2017-04-18 13:36:32 +0100
committerRoss Nicoll <[email protected]>2018-09-19 19:21:48 +0100
commit64af132fdba545f9caaa93597ad1f0c0a6b6ade1 (patch)
tree0bd321225d98e61e1ca85fabeb47c76b2dbe84a5 /src/amount.h
parentUpdate DB version to 5.1 (diff)
downloaddiscoin-64af132fdba545f9caaa93597ad1f0c0a6b6ade1.tar.xz
discoin-64af132fdba545f9caaa93597ad1f0c0a6b6ade1.zip
Replace consensus values with Dogecoin equivalents
* Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amount.h b/src/amount.h
index 93060f719..a5afcc721 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -28,7 +28,7 @@ extern const std::string CURRENCY_UNIT;
* critical; in unusual circumstances like a(nother) overflow bug that allowed
* for the creation of coins out of thin air modification could lead to a fork.
* */
-static const CAmount MAX_MONEY = 21000000 * COIN;
+static const CAmount MAX_MONEY = 1000000000 * COIN; // Dogecoin: maximum of 100B coins (given some randomness), max transaction 10,000,000,000
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/**