Class/Object

com.alexdupre.litecoin

Transaction

Related Docs: object Transaction | package litecoin

Permalink

case class Transaction(version: Long, txIn: Seq[TxIn], txOut: Seq[TxOut], lockTime: Long) extends LtcSerializable[Transaction] with Product with Serializable

Transaction

version

Transaction data format version

txIn

Transaction inputs

txOut

Transaction outputs

lockTime

The block number or timestamp at which this transaction is locked

Linear Supertypes
Serializable, Serializable, Product, Equals, LtcSerializable[Transaction], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transaction
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LtcSerializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transaction(version: Long, txIn: Seq[TxIn], txOut: Seq[TxOut], lockTime: Long)

    Permalink

    version

    Transaction data format version

    txIn

    Transaction inputs

    txOut

    Transaction outputs

    lockTime

    The block number or timestamp at which this transaction is locked

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addInput(input: TxIn): Transaction

    Permalink

    input

    input to add the tx

    returns

    a new transaction which includes the newly added input

  5. def addOutput(output: TxOut): Transaction

    Permalink

    output

    output to add to the tx

    returns

    a new transaction which includes the newly added output

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def baseSize(protocolVersion: Long = PROTOCOL_VERSION): Int

    Permalink
  8. lazy val bin: BinaryData

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hasWitness: Boolean

    Permalink
  14. lazy val hash: BinaryData

    Permalink
  15. def isFinal(blockHeight: Long, blockTime: Long): Boolean

    Permalink

    blockHeight

    current block height

    blockTime

    current block time

    returns

    true if the transaction is final

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val lockTime: Long

    Permalink

    The block number or timestamp at which this transaction is locked

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def serializer: LtcSerializer[Transaction]

    Permalink
    Definition Classes
    TransactionLtcSerializable
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    Transaction → AnyRef → Any
  24. def totalSize(protocolVersion: Long = PROTOCOL_VERSION): Int

    Permalink
  25. val txIn: Seq[TxIn]

    Permalink

    Transaction inputs

  26. val txOut: Seq[TxOut]

    Permalink

    Transaction outputs

  27. lazy val txid: BinaryData

    Permalink
  28. def updateSigScript(i: Int, sigScript: Seq[ScriptElt]): Transaction

    Permalink

    i

    index of the tx input to update

    sigScript

    new signature script

    returns

    a new transaction that is of copy of this one but where the signature script of the ith input has been replace by sigscript

  29. def updateSigScript(i: Int, sigScript: BinaryData): Transaction

    Permalink

    i

    index of the tx input to update

    sigScript

    new signature script

    returns

    a new transaction that is of copy of this one but where the signature script of the ith input has been replace by sigscript

  30. def updateWitness(i: Int, witness: ScriptWitness): Transaction

    Permalink
  31. def updateWitnesses(witnesses: Seq[ScriptWitness]): Transaction

    Permalink
  32. val version: Long

    Permalink

    Transaction data format version

  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def weight(protocolVersion: Long = PROTOCOL_VERSION): Int

    Permalink
  37. lazy val whash: BinaryData

    Permalink
  38. lazy val wtxid: BinaryData

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LtcSerializable[Transaction]

Inherited from AnyRef

Inherited from Any

Ungrouped