BIP 94 (Testnet 4) adds a timewarp rule: the first block of each difficulty period must not be timestamped more than 600 seconds before the previous block. Bitcoin Core enforces this rule only on testnet4 and regtest; its mainnet parameters set enforce_BIP94 to false.
Sources and checks
T1BIP 94, Testnet 4BIP, says this directly
of the immediately prior block minus 600 seconds
Specification, consensus rules, rule 1, read 2026-11-20
T1Bitcoin Core src/consensus/consensus.h, MAX_TIMEWARPSource code, says this directly
inline constexpr int64_t MAX_TIMEWARP = 600;
MAX_TIMEWARP, read 2026-11-20
T1Bitcoin Core src/validation.cpp, ContextualCheckBlockHeaderSource code, says this directly
// Testnet4 and regtest only: Check timestamp against prev for difficulty-adjustment
ContextualCheckBlockHeader, BIP94 timewarp check, read 2026-11-20
T1Bitcoin Core src/kernel/chainparams.cpp, mainnet enforce_BIP94Source code, says this directly
consensus.enforce_BIP94 = false;
CMainParams, consensus.enforce_BIP94, read 2026-11-20
T1Bitcoin Core PR #29775, Testnet4 including PoW difficulty adjustment fixPull request, background
a fix to the difficulty adjustment mechanism, which was part of the motivation that started the discussion.
PR description, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/consensus/consensus.h, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/consensus/consensus.h | grep -nF 'inline constexpr int64_t MAX_TIMEWARP = 600;'bitcoin/bitcoin at f498a5a671 contains this text in src/validation.cpp.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/validation.cpp | grep -nF 'if (block.GetBlockTime() < pindexPrev->GetBlockTime() - MAX_TIMEWARP) {'BIP 94's Status is "Deployed" on the default branch.
Run it yourself
curl -s https://raw.githubusercontent.com/bitcoin/bips/master/bip-0094.mediawiki | grep -m1 -E '^ *Statuss?:'Checked at block 976,753, 20 Nov 2026, 16:42 UTC: quotes 5/5, code 3/3
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 16:42 UTCblock 976,753
Published Revision 1, run 2026-11-20-seed-proof-of-work