Bitcoin
Transaction – What is hashTypeCode?
4 bytes if the transaction is serialized for signing or signature verification hashTypeCode
You need to add (step 9 here): Because it is derived from a single byte, there are 256 possible values.
What is a hash type code?
What is its origin?
What is it used for?
Have there been any suggestions to modify or expand its meaning?