From db800dead25cb7ea694868dab87ffe9adfcd2582 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Mon, 31 Mar 2014 21:24:02 +0100 Subject: [PATCH] Standardised capitalisation of Dogecoin. --- src/core.h | 2 +- src/main.cpp | 6 +++--- src/main.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core.h b/src/core.h index 5703a9bfe..85e39efc1 100644 --- a/src/core.h +++ b/src/core.h @@ -19,7 +19,7 @@ class CTransaction; /** No amount larger than this (in satoshi) is valid */ -static const int64_t MAX_MONEY = 10000000000 * COIN; // DogeCoin: maximum of 100B coins (given some randomness), max transaction 10,000,000,000 +static const int64_t MAX_MONEY = 10000000000 * COIN; // Dogecoin: maximum of 100B coins (given some randomness), max transaction 10,000,000,000 inline bool MoneyRange(int64_t nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } /** An outpoint - a combination of a transaction hash and an index n into its vout */ diff --git a/src/main.cpp b/src/main.cpp index e826acf5c..38e8d2209 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1159,9 +1159,9 @@ int64_t GetBlockValue(int nHeight, int64_t nFees, uint256 prevHash) } // New Difficulty adjustement and reward scheme by /u/lleti, rog1121, and DigiByte (DigiShield Developers). -static const int64_t nTargetTimespan = 4 * 60 * 60; // DogeCoin: every 4 hours -static const int64_t nTargetTimespanNEW = 60 ; // DogeCoin: every 1 minute -static const int64_t nTargetSpacing = 60; // DogeCoin: 1 minute +static const int64_t nTargetTimespan = 4 * 60 * 60; // Dogecoin: every 4 hours +static const int64_t nTargetTimespanNEW = 60 ; // Dogecoin: every 1 minute +static const int64_t nTargetSpacing = 60; // Dogecoin: 1 minute static const int64_t nInterval = nTargetTimespan / nTargetSpacing; static const int64_t nDiffChangeTarget = 145000; // Patch effective @ block 145000 diff --git a/src/main.h b/src/main.h index d83e5fc7e..666a1293c 100644 --- a/src/main.h +++ b/src/main.h @@ -304,7 +304,7 @@ inline bool AllowFree(double dPriority) { // Large (in bytes) low-priority (new, small-coin) transactions // need a fee. - return dPriority > 100 * COIN * 1440 / 250; // DogeCoin: 1440 blocks found a day. Priority cutoff is 100 dogecoin day / 250 bytes. + return dPriority > 100 * COIN * 1440 / 250; // Dogecoin: 1440 blocks found a day. Priority cutoff is 100 dogecoin day / 250 bytes. } // Check whether all inputs of this transaction are valid (no double spends, scripts & sigs, amounts)