deprecate midstate and hash1 in getwork