Function isValidSignatureEncodingDER

  • Validate a DER-encoded signature.


    This function is consensus-critical since BIP66, but differs from the BIP66 specification in that it does not validate the existence of a signing serialization type byte at the end of the signature (to support OP_CHECKDATASIG). To validate a bitcoin-encoded signature (including null signatures), use isValidSignatureEncodingBCHTransaction.


    • signature: Uint8Array

    Returns boolean

Generated using TypeDoc