From e64843ced509c24f783276d4cc0f2f26c9d527f2 Mon Sep 17 00:00:00 2001 From: Tomo Ueda Date: Thu, 2 Sep 2021 12:55:18 -0700 Subject: really s/Doge/Dis/g this time --- src/dogecoin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dogecoin.cpp') diff --git a/src/dogecoin.cpp b/src/dogecoin.cpp index 560106396..b84c94d90 100644 --- a/src/dogecoin.cpp +++ b/src/dogecoin.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Dogecoin Core developers +// Copyright (c) 2015 The Discoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -20,7 +20,7 @@ int static generateMTRandom(unsigned int s, int range) return dist(gen); } -// Dogecoin: Normally minimum difficulty blocks can only occur in between +// Discoin: Normally minimum difficulty blocks can only occur in between // retarget blocks. However, once we introduce Digishield every block is // a retarget, so we need to handle minimum difficulty on all blocks. bool AllowDigishieldMinDifficultyForBlock(const CBlockIndex* pindexLast, const CBlockHeader *pblock, const Consensus::Params& params) @@ -38,7 +38,7 @@ bool AllowDigishieldMinDifficultyForBlock(const CBlockIndex* pindexLast, const C return (pblock->GetBlockTime() > pindexLast->GetBlockTime() + params.nPowTargetSpacing*2); } -unsigned int CalculateDogecoinNextWorkRequired(const CBlockIndex* pindexLast, int64_t nFirstBlockTime, const Consensus::Params& params) +unsigned int CalculateDiscoinNextWorkRequired(const CBlockIndex* pindexLast, int64_t nFirstBlockTime, const Consensus::Params& params) { int nHeight = pindexLast->nHeight + 1; const int64_t retargetTimespan = params.nPowTargetTimespan; @@ -123,7 +123,7 @@ bool CheckAuxPowProofOfWork(const CBlockHeader& block, const Consensus::Params& return true; } -CAmount GetDogecoinBlockSubsidy(int nHeight, const Consensus::Params& consensusParams, uint256 prevHash) +CAmount GetDiscoinBlockSubsidy(int nHeight, const Consensus::Params& consensusParams, uint256 prevHash) { int halvings = nHeight / consensusParams.nSubsidyHalvingInterval; -- cgit v1.2.3