Export the CheckBlockSanity function.