sealed abstract class WitnessTransaction extends Transaction

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WitnessTransaction
  2. Transaction
  3. NetworkElement
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def inputs: Seq[TransactionInput]

    The inputs for this transaction

    The inputs for this transaction

    Definition Classes
    Transaction
  2. abstract def lockTime: UInt32

    The locktime for this transaction

    The locktime for this transaction

    Definition Classes
    Transaction
  3. abstract def outputs: Seq[TransactionOutput]

    The outputs for this transaction

    The outputs for this transaction

    Definition Classes
    Transaction
  4. abstract def version: Int32

    The version number for this transaction

    The version number for this transaction

    Definition Classes
    Transaction
  5. abstract def witness: TransactionWitness

    The witness used to evaluate ScriptSignature/ ScriptPubKeys inside of a SegWit tx.

    The witness used to evaluate ScriptSignature/ ScriptPubKeys inside of a SegWit tx. BIP141

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseSize: Long

    Base transaction size is the size of the transaction serialised with the witness data stripped https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#Transaction_size_calculations

    Base transaction size is the size of the transaction serialised with the witness data stripped https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#Transaction_size_calculations

    Definition Classes
    Transaction
  6. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    WitnessTransactionNetworkElement
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  13. def isCoinbase: Boolean

    Determines if this transaction is a coinbase transaction.

    Determines if this transaction is a coinbase transaction.

    Definition Classes
    Transaction
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def logger: Logger
    Definition Classes
    NetworkElement
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def size: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def totalSize: Long
    Definition Classes
    Transaction
  23. def txId: DoubleSha256Digest

    The txId for the witness transaction from satoshi's original serialization

    The txId for the witness transaction from satoshi's original serialization

    Definition Classes
    WitnessTransactionTransaction
  24. def txIdBE: DoubleSha256DigestBE

    This is the BIG ENDIAN encoding for the txid.

    This is the BIG ENDIAN encoding for the txid. This is commonly used for RPC interfaces and block explorers, this encoding is NOT used at the protocol level For more info see: https://bitcoin.stackexchange.com/questions/2063/why-does-the-bitcoin-protocol-use-the-little-endian-notation

    Definition Classes
    Transaction
  25. def updateInput(idx: Int, i: TransactionInput): Transaction

    Updates the input at the given index and returns the new transaction with that input updated

    Updates the input at the given index and returns the new transaction with that input updated

    Definition Classes
    Transaction
  26. def updateWitness(idx: Int, scriptWit: ScriptWitness): WitnessTransaction

    Updates the ScriptWitness at the given index and returns a new WitnessTransaction with it's witness vector updated

  27. def vsize: Long

    The transaction's virtual size https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#Transaction_size_calculations

  28. def wTxId: DoubleSha256Digest

    The witness transaction id as defined by BIP141

  29. def wTxIdBE: DoubleSha256DigestBE

    Returns the big endian encoding of the wtxid

  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. def weight: Long

    Weight calculation in bitcoin for witness txs https://github.com/bitcoin/bitcoin/blob/5961b23898ee7c0af2626c46d5d70e80136578d3/src/consensus/validation.h#L96

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Transaction

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped