etotheipi, I think this is what you are looking for:
https://github.com/bitcoin/bips/pull/270This proposal defines a new transaction digest algorithm for signature verification in version 0 and version 1 witness program, in order to minimize redundant data hashing in verification, and to cover the input value by the signature.