object TapscriptControlBlock extends Factory[TapscriptControlBlock] with Serializable
- Alphabetic
- By Inheritance
- TapscriptControlBlock
- Serializable
- Factory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 apply(leafVersion: LeafVersion, internalKey: XOnlyPubKey, parity: KeyParity, leafHashes: Vector[Sha256Digest]): TapscriptControlBlock
- def apply(hex: String): TapscriptControlBlock
Creates a T from a hex string.
Creates a T from a hex string.
- Definition Classes
- Factory
- def apply(bytes: ByteVector): TapscriptControlBlock
Creates a T out of a sequence of bytes.
Creates a T out of a sequence of bytes.
- Definition Classes
- Factory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromBytes(bytes: ByteVector): TapscriptControlBlock
Creates a T out of a sequence of bytes.
Creates a T out of a sequence of bytes.
- Definition Classes
- TapscriptControlBlock → Factory
- def fromBytesLE(bytes: ByteVector): TapscriptControlBlock
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
- def fromBytesOpt(bytes: ByteVector): Option[TapscriptControlBlock]
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
- def fromBytesT(bytes: ByteVector): Try[TapscriptControlBlock]
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
- def fromHex(hex: String): TapscriptControlBlock
Creates a T out of a hex string.
Creates a T out of a hex string.
- Definition Classes
- Factory
- def fromHexLE(hex: String): TapscriptControlBlock
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
- def fromHexOpt(hex: String): Option[TapscriptControlBlock]
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
- def fromHexT(hex: String): Try[TapscriptControlBlock]
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
- def fromSingleLeaf(leafVersion: LeafVersion, internalKey: XOnlyPubKey, parity: KeyParity): TapscriptControlBlock
Constructs a tapscript control block for the case where we have one single TapLeaf in the entire tree In this case, we don't have any elements in the control block besides the internal key, leaf version and parity of the output xonly pubkey
- def fromXOnlyPubKey(internalKey: XOnlyPubKey): TapscriptControlBlock
Creates a control block with no scripts, just an internal key
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isValid(bytes: ByteVector): Boolean
invariants from: https://github.com/bitcoin/bitcoin/blob/37633d2f61697fc719390767aae740ece978b074/src/script/interpreter.cpp#L1835
- 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()
- implicit def self: Factory[TapscriptControlBlock]
Allows a
def foo[C: Factory]()
construction.Allows a
def foo[C: Factory]()
construction.- Definition Classes
- Factory
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()