is Defined Hash Type Signature
Return
true if the trailing sighash byte is valid
Parameters
sig
signature (DER encoded + a trailing sighash byte)
true if the trailing sighash byte is valid
signature (DER encoded + a trailing sighash byte)