Skip to main content

bsv.Script.Interpreter-1

scrypt-ts / bsv / Script / Interpreter

Class: Interpreter

bsv.Script.Interpreter

Table of contents

Constructors

Properties

Constructors

constructor

new Interpreter()

Properties

errstr

Optional errstr: string

Defined in

node_modules/bsv/index.d.ts:1293


stepListener

Optional stepListener: StepListenerFunction

Defined in

node_modules/bsv/index.d.ts:1292


verify

verify: (inputScript: Script, outputScript: Script, txn: Transaction, nin: number, flags: any, satoshisBN: BN) => boolean

Type declaration

▸ (inputScript, outputScript, txn, nin, flags, satoshisBN): boolean

Parameters
NameType
inputScriptScript
outputScriptScript
txnTransaction
ninnumber
flagsany
satoshisBNBN
Returns

boolean

Defined in

node_modules/bsv/index.d.ts:1294


DEFAULT_FLAGS

Static DEFAULT_FLAGS: number

Defined in

node_modules/bsv/index.d.ts:1291


MAXIMUM_ELEMENT_SIZE

Static MAXIMUM_ELEMENT_SIZE: number

Defined in

node_modules/bsv/index.d.ts:1289


MAX_SCRIPT_ELEMENT_SIZE

Static MAX_SCRIPT_ELEMENT_SIZE: number

Defined in

node_modules/bsv/index.d.ts:1288


SCRIPT_ENABLE_MAGNETIC_OPCODES

Static SCRIPT_ENABLE_MAGNETIC_OPCODES: number

Defined in

node_modules/bsv/index.d.ts:1276


SCRIPT_ENABLE_MONOLITH_OPCODES

Static SCRIPT_ENABLE_MONOLITH_OPCODES: number

Defined in

node_modules/bsv/index.d.ts:1277


SCRIPT_ENABLE_SIGHASH_FORKID

Static SCRIPT_ENABLE_SIGHASH_FORKID: number

Defined in

node_modules/bsv/index.d.ts:1279


SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY

Static SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY: number

Defined in

node_modules/bsv/index.d.ts:1286


SCRIPT_VERIFY_CHECKSEQUENCEVERIFY

Static SCRIPT_VERIFY_CHECKSEQUENCEVERIFY: number

Defined in

node_modules/bsv/index.d.ts:1287


SCRIPT_VERIFY_CLEANSTACK

Static SCRIPT_VERIFY_CLEANSTACK: number

Defined in

node_modules/bsv/index.d.ts:1290


SCRIPT_VERIFY_DERSIG

Static SCRIPT_VERIFY_DERSIG: number

Defined in

node_modules/bsv/index.d.ts:1282


SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS

Static SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS: number

Defined in

node_modules/bsv/index.d.ts:1285


SCRIPT_VERIFY_LOW_S

Static SCRIPT_VERIFY_LOW_S: number

Defined in

node_modules/bsv/index.d.ts:1280


SCRIPT_VERIFY_MINIMALDATA

Static SCRIPT_VERIFY_MINIMALDATA: number

Defined in

node_modules/bsv/index.d.ts:1283


SCRIPT_VERIFY_NULLDUMMY

Static SCRIPT_VERIFY_NULLDUMMY: number

Defined in

node_modules/bsv/index.d.ts:1284


SCRIPT_VERIFY_NULLFAIL

Static SCRIPT_VERIFY_NULLFAIL: number

Defined in

node_modules/bsv/index.d.ts:1281


SCRIPT_VERIFY_STRICTENC

Static SCRIPT_VERIFY_STRICTENC: number

Defined in

node_modules/bsv/index.d.ts:1278