Class/Object

com.alexdupre.bitcoincash

Transaction

Related Docs: object Transaction | package bitcoincash

Permalink

case class Transaction(version: Long, txIn: Seq[TxIn], txOut: Seq[TxOut], lockTime: Long) extends BtcSerializable[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, BtcSerializable[Transaction], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transaction
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BtcSerializable
  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. lazy val bin: BinaryData

    Permalink
  8. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. lazy val hash: BinaryData

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

    Permalink

    blockHeight

    current block height

    blockTime

    current block time

    returns

    true if the transaction is final

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val lockTime: Long

    Permalink

    The block number or timestamp at which this transaction is locked

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def serializer: BtcSerializer[Transaction]

    Permalink
    Definition Classes
    TransactionBtcSerializable
  20. def size(protocolVersion: Long = PROTOCOL_VERSION): Int

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Transaction → AnyRef → Any
  23. val txIn: Seq[TxIn]

    Permalink

    Transaction inputs

  24. val txOut: Seq[TxOut]

    Permalink

    Transaction outputs

  25. lazy val txid: BinaryData

    Permalink
  26. 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

  27. 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

  28. val version: Long

    Permalink

    Transaction data format version

  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BtcSerializable[Transaction]

Inherited from AnyRef

Inherited from Any

Ungrouped