Interface AuthenticationProgramStateCodeSeparator

Hierarchy

Properties

Properties

lastCodeSeparator: number

The lastCodeSeparator indicates the index of the most recently executed OP_CODESEPARATOR instruction. In each of the signing serialization algorithms, the instructions are sliced at lastCodeSeparator, and the subarray is re-encoded. The resulting bytecode is called the coveredBytecode (A.K.A. scriptCode), and is part of the data hashed to create the signing serialization digest.

By default, this is -1, which indicates that the whole instructions array is included in the signing serialization.

Generated using TypeDoc