Packages

object TaprootScriptPath extends Factory[TaprootScriptPath] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaprootScriptPath
  2. Serializable
  3. Factory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 val TAPROOT_CONTROL_BASE_SIZE: Byte
  5. final val TAPROOT_CONTROL_MAX_NODE_COUNT: Int
  6. final val TAPROOT_CONTROL_MAX_SIZE: Int
  7. final val TAPROOT_CONTROL_NODE_SIZE: Byte
  8. final val TAPROOT_LEAF_MASK: Byte
  9. final val TAPROOT_LEAF_TAPSCRIPT: Byte
  10. final val annex: Byte
  11. final val annexOpt: Option[Byte]
  12. def apply(controlBlock: TapscriptControlBlock, annexOpt: Option[ByteVector], spk: RawScriptPubKey): TaprootScriptPath
  13. def apply(hex: String): TaprootScriptPath

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  14. def apply(bytes: ByteVector): TaprootScriptPath

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  17. def computeTapleafHash(leafVersion: Byte, spk: ScriptPubKey): Sha256Digest

    Computes the hash of the script that is a leaf in the tapscript tree

    Computes the hash of the script that is a leaf in the tapscript tree

    See also

    https://github.com/bitcoin/bitcoin/blob/37633d2f61697fc719390767aae740ece978b074/src/script/interpreter.cpp#L1828

  18. def computeTaprootMerkleRoot(controlBlock: ControlBlock, tapLeafHash: Sha256Digest): Sha256Digest

    Computes the merkle root of a tapscript tree

    Computes the merkle root of a tapscript tree

    See also

    https://github.com/bitcoin/bitcoin/blob/37633d2f61697fc719390767aae740ece978b074/src/script/interpreter.cpp#L1833

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def fromBytes(bytes: ByteVector): TaprootScriptPath

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    TaprootScriptPathFactory
  23. def fromBytesLE(bytes: ByteVector): TaprootScriptPath

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  24. def fromBytesOpt(bytes: ByteVector): Option[TaprootScriptPath]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  25. def fromBytesT(bytes: ByteVector): Try[TaprootScriptPath]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  26. def fromHex(hex: String): TaprootScriptPath

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  27. def fromHexLE(hex: String): TaprootScriptPath

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  28. def fromHexOpt(hex: String): Option[TaprootScriptPath]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  29. def fromHexT(hex: String): Try[TaprootScriptPath]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  30. def fromStack(stack: Vector[ByteVector]): TaprootScriptPath
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hasAnnex(stack: Vector[ByteVector]): Boolean

    Checks the witness stack has an annex in it

  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def isValid(stack: Vector[ByteVector]): Boolean
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. implicit def self: Factory[TaprootScriptPath]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def verifyTaprootCommitment(controlBlock: ControlBlock, program: TaprootScriptPubKey, tapLeafHash: Sha256Digest): Boolean
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Factory[TaprootScriptPath]

Inherited from AnyRef

Inherited from Any

Ungrouped