Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/libauth/src/lib/vm/instruction-sets/common/instruction-sets-types.ts

An ultra-lightweight, zero-dependency JavaScript library for Bitcoin Cash, Bitcoin, and Bitauth applications.
Latest
import * as libauth from "https://deno.land/x/libauth@v2.0.0-alpha.9/src/lib/vm/instruction-sets/common/instruction-sets-types.ts";

Type Aliases

A well-formed instruction used by an AuthenticationVirtualMachine.

A malformed authentication instruction (the bytecode ends before enough bytes can be read).

A potentially-malformed AuthenticationInstruction. If malformed is true, this could be either AuthenticationInstructionPushMalformedLength or AuthenticationInstructionPushMalformedData.

An authentication instruction indicating an operation (as opposed to a AuthenticationInstructionPush).

A well-formed "push" authentication instruction (OP_PUSHBYTES* or OP_PUSHDATA*).

A malformed "push" authentication instruction in which the pushed data is incomplete (the bytecode ends before enough bytes can be read).

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

An array of authentication instructions that may end with a malformed instruction.