Skip to content

OP_OUTPOINTTXHASH, OP_OUTPOINTINDEX, and OP_UTXOBYTECODE should accept a Script Number

> Each opcode provides information about the current transaction according to the table below.

I see

OP_INPUTSEQUENCENUMBER
OP_INPUTBYTECODE

But there isn't any equivalent thing for getting the hash/prevout index, e.g.:

OP_INPUTSOUTPOINTTXHASH
OP_INPUTSOUTPOINTINDEX

you only have

OP_OUTPOINTTXHASH
OP_OUTPOINTINDEX

which i understand as the input being evaluated.  Why not allow access to the other input info?
Edited by Jason Dreyzehner
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information