Block processing during mining