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 annex: Byte
  9. final val annexOpt: Option[Byte]
  10. def apply(controlBlock: TapscriptControlBlock, annexOpt: Option[ByteVector], spk: RawScriptPubKey): TaprootScriptPath
  11. def apply(hex: String): TaprootScriptPath

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  12. 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
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. def computeFullTreeMerkleRoot(tree: TapscriptTree): Sha256Digest
  16. 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

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

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

    Creates a T out of a hex string.

    Creates a T out of a hex string.

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

    Checks the witness stack has an annex in it

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

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

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

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