Packages

case class TaprootKeyPath(signature: SchnorrDigitalSignature, annexOpt: Option[ByteVector]) extends ScriptWitness with TaprootWitness with Product with Serializable

Spending a taproot output via the key path spend

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaprootKeyPath
  2. Serializable
  3. Product
  4. Equals
  5. TaprootWitness
  6. ScriptWitness
  7. NetworkElement
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TaprootKeyPath(signature: SchnorrDigitalSignature, annexOpt: Option[ByteVector])

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. def annexHashOpt: Option[Sha256Digest]

    As per bip341 the SHA256 of (compact_size(size of annex) || annex), where annex includes the mandatory 0x50 prefix.

    As per bip341 the SHA256 of (compact_size(size of annex) || annex), where annex includes the mandatory 0x50 prefix.

    Definition Classes
    TaprootWitness
    See also

    https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#signature-validation-rules

  5. val annexOpt: Option[ByteVector]
    Definition Classes
    TaprootKeyPathTaprootWitness
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  8. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    TaprootWitnessNetworkElement
  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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean
    Definition Classes
    ScriptWitness → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val hashType: HashType
  16. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  17. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val signature: SchnorrDigitalSignature
  24. val stack: Vector[ByteVector]

    The byte vectors that are placed on to the stack when evaluating a witness program

    The byte vectors that are placed on to the stack when evaluating a witness program

    Definition Classes
    TaprootKeyPathScriptWitness
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TaprootWitness

Inherited from ScriptWitness

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped