Bitcoin's time-warp attack — the difficulty bug still in Satoshi's code, and the Great Consensus Cleanup (2024–2026)
Satoshi's difficulty retarget has an off-by-one: it measures 2,015 blocks instead of 2,016. A hashrate majority can exploit it via timestamp manipulation. The Great Consensus Cleanup proposes a fix.