Update to use latest btcwire invtype constants.