case class TxIn(outPoint: OutPoint, signatureScript: ByteVector, sequence: Long, witness: ScriptWitness) extends BtcSerializable[TxIn]
Transaction input
- Value parameters:
- outPoint
Previous output transaction reference
- sequence
Transaction version as defined by the sender. Intended for "replacement" of transactions when information is updated before inclusion into a block. Repurposed for OP_CSV (see BIPs 68 & 112)
- signatureScript
Signature script which should match the public key script of the output that we want to spend
- witness
Transaction witness (i.e. what is in sig script for standard transactions).
- Companion:
- object
- Source:
- Transaction.scala
trait Serializable
trait Product
trait Equals
trait BtcSerializable[TxIn]
class Object
trait Matchable
class Any