1
Where can I find the sighash type specified in a script? Is it included in the scriptsig?
1
Where can I find the sighash type specified in a script? Is it included in the scriptsig?
2
Yes, it's generally part of the scriptSig.
More specifically, it's part of the signature pushed by the script.
Most specifically, it's the last byte of the signature.