Context

fun Context(    tx: Transaction,     inputIndex: Int,     amount: Satoshi,     prevouts: List<TxOut>)

Parameters

tx

transaction that is being verified

inputIndex

0-based index of the tx input that is being processed