Blocklore
Esc

Type to search every published claim: statements, sources and topics.

Enter opens the claim; with no match, suggests the questionUp and down to move
976,842

Sources and checks

T1Bitcoin Core src/pow.cpp, GetNextWorkRequiredSource code, says this directly
int nHeightFirst = pindexLast->nHeight - (params.DifficultyAdjustmentInterval()-1);
GetNextWorkRequired, choice of first block, read 2026-11-20
The timewarp vulnerability exploits how difficulty adjustment periods don't overlap.
Post 1, timewarp section, published 2024-03-24, read 2026-11-20
T2Bitcoin Optech Newsletter, 24 April 2024Bitcoin Optech, supports part of it
explains the off-by-one error in Bitcoin’s difficulty retargeting calculation
Selected Q&A from Bitcoin Stack Exchange, Where exactly is the off-by-one difficulty bug?, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/pow.cpp, and still does on the default branch.
Run it yourselfgit clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/pow.cpp | grep -nF 'int nHeightFirst = pindexLast->nHeight - (params.DifficultyAdjustmentInterval()-1);'
Checked at block 976,753, 20 Nov 2026, 16:42 UTC: quotes 3/3, code 1/1

History

Nothing is edited silently; every revision keeps what it replaced.

  1. 20 Nov 2026, 16:42 UTCblock 976,753

    Published Revision 1, run 2026-11-20-seed-proof-of-work