This does not implement full handling of block disconnections, but ensures that all chain updates are processed in order.