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
- Alphabetic
- By Inheritance
- TaprootKeyPath
- Serializable
- Product
- Equals
- TaprootWitness
- ScriptWitness
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TaprootKeyPath(signature: SchnorrDigitalSignature, annexOpt: Option[ByteVector])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- val annexOpt: Option[ByteVector]
- Definition Classes
- TaprootKeyPath → TaprootWitness
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- NetworkElement
- def bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
- TaprootWitness → NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- ScriptWitness → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hashType: HashType
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val signature: SchnorrDigitalSignature
- 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
- TaprootKeyPath → ScriptWitness
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()