|
|
|
@ -1192,8 +1192,8 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
@@ -1192,8 +1192,8 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
|
|
|
|
|
if (halvings >= 64) |
|
|
|
|
return 0; |
|
|
|
|
|
|
|
|
|
CAmount nSubsidy = 50 * COIN; |
|
|
|
|
// Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
|
|
|
|
|
CAmount nSubsidy = 500 * COIN; |
|
|
|
|
// Subsidy is cut in half every 210,000 * 5 blocks which will occur approximately every 4 years.
|
|
|
|
|
nSubsidy >>= halvings; |
|
|
|
|
return nSubsidy; |
|
|
|
|
} |
|
|
|
@ -1910,7 +1910,7 @@ bool CChainState::ConnectBlock(const CBlock& block, CValidationState& state, CBl
@@ -1910,7 +1910,7 @@ bool CChainState::ConnectBlock(const CBlock& block, CValidationState& state, CBl
|
|
|
|
|
// Now that the whole chain is irreversibly beyond that time it is applied to all blocks except the
|
|
|
|
|
// two in the chain that violate it. This prevents exploiting the issue against nodes during their
|
|
|
|
|
// initial block download.
|
|
|
|
|
bool fEnforceBIP30 = true; |
|
|
|
|
bool fEnforceBIP30 = false; |
|
|
|
|
//(!pindex->phashBlock) || // Enforce on CreateNewBlock invocations which don't have a hash.
|
|
|
|
|
// !((pindex->nHeight==91842 && pindex->GetBlockHash() == uint256S("0x00000000000a4d0a398161ffc163c503763b1f4360639393e0e4c8e300e0caec")) ||
|
|
|
|
|
// (pindex->nHeight==91880 && pindex->GetBlockHash() == uint256S("0x00000000000743f190a18c5577a3c2d2a1f610ae9601ac046a38084ccb7cd721")));
|
|
|
|
|