mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
doc: testnet3 was not reset and is doing BIP30 checks again
This commit is contained in:
parent
d3582f2d3b
commit
fa1a51cbc1
1 changed files with 2 additions and 3 deletions
|
@ -2006,9 +2006,8 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
|
||||||
// another edge case to deal with.
|
// another edge case to deal with.
|
||||||
|
|
||||||
// testnet3 has no blocks before the BIP34 height with indicated heights
|
// testnet3 has no blocks before the BIP34 height with indicated heights
|
||||||
// post BIP34 before approximately height 486,000,000 and presumably will
|
// post BIP34 before approximately height 486,000,000. After block
|
||||||
// be reset before it reaches block 1,983,702 and starts doing unnecessary
|
// 1,983,702 testnet3 starts doing unnecessary BIP30 checking again.
|
||||||
// BIP30 checking again.
|
|
||||||
assert(pindex->pprev);
|
assert(pindex->pprev);
|
||||||
CBlockIndex* pindexBIP34height = pindex->pprev->GetAncestor(m_params.GetConsensus().BIP34Height);
|
CBlockIndex* pindexBIP34height = pindex->pprev->GetAncestor(m_params.GetConsensus().BIP34Height);
|
||||||
//Only continue to enforce if we're below BIP34 activation height or the block hash at that height doesn't correspond.
|
//Only continue to enforce if we're below BIP34 activation height or the block hash at that height doesn't correspond.
|
||||||
|
|
Loading…
Reference in a new issue