> Add single sha256 call to CHashWriter
> Add SHA256Uint256 helper functions
> Refactor Get{Prevout,Sequence,Outputs}Hash to Get{Prevouts,Sequences,Outputs}SHA256.
>
> Several proposals (Taproot, MuHash, CTV) require access to the single
> hash.
This is a backport of core#19601
This backport was previously ignored because I assumed it was only needed for taproot. But it is also a dependency for other features, such as MuHash3072 (improving the performance of `gettxoutsetinfo`).