View in context in the libbitcoin Slack #general mirror.
Bitcoin Core does have some logic to rewind the last N blocks...