At each mainnet retarget, Bitcoin Core's CalculateNextWorkRequired multiplies the previous target by the period's measured timespan, first limited to between one quarter and four times two weeks, divides by the two-week target timespan, and caps the result at the proof-of-work limit, so faster periods make the target smaller and mining harder.
Sources and checks
T1Bitcoin Core src/pow.cpp, CalculateNextWorkRequiredSource code, says this directly
bnNew *= nActualTimespan;
CalculateNextWorkRequired, Retarget, read 2026-11-20
T1Bitcoin Core src/pow.cpp, CalculateNextWorkRequiredSource code, says this directly
bnNew /= params.nPowTargetTimespan;
CalculateNextWorkRequired, division and cap, read 2026-11-20
T1Bitcoin Core src/pow.cpp, CalculateNextWorkRequiredSource code, says this directly
if (nActualTimespan < params.nPowTargetTimespan/4)
CalculateNextWorkRequired, Limit adjustment step, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/pow.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/pow.cpp | grep -nF 'bnNew *= nActualTimespan;'bitcoin/bitcoin at f498a5a671 contains this text in src/pow.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/pow.cpp | grep -nF 'bnNew /= params.nPowTargetTimespan;'Checked at block 976,753, 20 Nov 2026, 16:42 UTC: quotes 3/3, code 2/2
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