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 computeFullTreeMerkleRoot(tree: TapscriptTree): Sha256Digest
  18. def computeTapleafHash(leaf: TapLeaf): 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

  19. 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

  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. 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
  24. 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
  25. 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
  26. 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
  27. def fromHex(hex: String): TaprootScriptPath

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  28. 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
  29. 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
  30. 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
  31. def fromStack(stack: Vector[ByteVector]): TaprootScriptPath
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hasAnnex(stack: Vector[ByteVector]): Boolean

    Checks the witness stack has an annex in it

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

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

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

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