Packages

sealed trait WitnessCommitment extends ScriptPubKey with RawScriptPubKey

This trait represents the witness commitment found in the coinbase transaction This is needed to commit to the wtxids of all of the witness transactions, since the merkle tree does not commit to the witnesses for all WitnessTransaction See BIP141 for more info https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#commitment-structure

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WitnessCommitment
  2. RawScriptPubKey
  3. NonWitnessScriptPubKey
  4. ScriptPubKey
  5. Script
  6. NetworkElement
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def asm: Seq[ScriptToken]

    Representation of a script in a parsed assembly format this data structure can be run through the script interpreter to see if a script evaluates to true used to represent the size of the script serialization

    Representation of a script in a parsed assembly format this data structure can be run through the script interpreter to see if a script evaluates to true used to represent the size of the script serialization

    Definition Classes
    Script
  2. abstract val scriptType: ScriptType
    Definition Classes
    ScriptPubKey

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. val asmBytes: ByteVector

    The byte representation of asm, this does NOT have the bytes for the org.bitcoins.core.protocol.CompactSizeUInt in the script

    The byte representation of asm, this does NOT have the bytes for the org.bitcoins.core.protocol.CompactSizeUInt in the script

    Definition Classes
    Script
  6. lazy val asmHex: String
    Definition Classes
    Script
  7. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  8. val bytes: ByteVector

    The full byte serialization for a script on the network

    The full byte serialization for a script on the network

    Definition Classes
    ScriptNetworkElement
  9. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. val compactSizeUInt: CompactSizeUInt

    The size of the script, this is used for network serialization

    The size of the script, this is used for network serialization

    Definition Classes
    Script
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  18. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. def witnessRootHash: DoubleSha256Digest

    The commitment to the WitnessTransactions in the Block

Inherited from RawScriptPubKey

Inherited from NonWitnessScriptPubKey

Inherited from ScriptPubKey

Inherited from Script

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped