Type alias AuthenticationInstructionPushMalformedLength

AuthenticationInstructionPushMalformedLength: {
    expectedLengthBytes: Uint8Bytes | Uint16Bytes | Uint32Bytes;
    length: Uint8Array;
    malformed: true;
    opcode: number;
}

A malformed OP_PUSHDATA* authentication instruction in which the length byte is incomplete (the bytecode ends before enough bytes can be read).

Type declaration

  • expectedLengthBytes: Uint8Bytes | Uint16Bytes | Uint32Bytes

    The expected number of length bytes (length.length) for this OP_PUSHDATA* operation.

  • length: Uint8Array

    The length Uint8Array provided. This instruction is malformed because the length of this Uint8Array is shorter than the expectedLengthBytes.

  • malformed: true
  • opcode: number

Generated using TypeDoc