case class EnumSingleOracleInfo(announcement: OracleAnnouncementTLV) extends SingleOracleInfo with EnumOracleInfo with Product with Serializable
Specifies a single oracles' information for an Enumerated Outcome DLC through an announcement
- Alphabetic
- By Inheritance
- EnumSingleOracleInfo
- Serializable
- Product
- Equals
- EnumOracleInfo
- SingleOracleInfo
- OracleInfo
- TLVSerializable
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EnumSingleOracleInfo(announcement: OracleAnnouncementTLV)
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 aggregateNonce(outcome: DLCOutcomeType): SchnorrNonce
Computes the sum of all nonces used in a given outcome
Computes the sum of all nonces used in a given outcome
- Definition Classes
- SingleOracleInfo
- val announcement: OracleAnnouncementTLV
- Definition Classes
- EnumSingleOracleInfo → SingleOracleInfo
- 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
- TLVSerializable → 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 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()
- 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
- val nonce: SchnorrNonce
- def nonces: Vector[SchnorrNonce]
The oracle's pre-committed nonces, in the correct order
The oracle's pre-committed nonces, in the correct order
- Definition Classes
- SingleOracleInfo
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numOracles: Int
The total number of oracles to choose from
The total number of oracles to choose from
- Definition Classes
- SingleOracleInfo → OracleInfo
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def publicKey: SchnorrPublicKey
The oracle's public key
The oracle's public key
- Definition Classes
- SingleOracleInfo
- def sigPoint(outcome: DLCOutcomeType): ECPublicKey
Computes the signature point (aka signature anticipation) for a given outcome.
Computes the signature point (aka signature anticipation) for a given outcome. This point is used for adaptor signing.
- Definition Classes
- SingleOracleInfo
- def singleOracleInfos: Vector[EnumSingleOracleInfo.this.type]
Each oracle's corresponding SingleOracleInfo
Each oracle's corresponding SingleOracleInfo
- Definition Classes
- SingleOracleInfo → OracleInfo
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val threshold: Int
The number of oracles required for execution
The number of oracles required for execution
- Definition Classes
- SingleOracleInfo → OracleInfo
- def toTLV: OracleInfoV0TLV
- Definition Classes
- SingleOracleInfo → TLVSerializable
- def verifySigs(outcome: DLCOutcomeType, sigs: OracleSignatures): Boolean
The order of the given sigs should correspond to the given outcome.
The order of the given sigs should correspond to the given outcome.
- Definition Classes
- EnumSingleOracleInfo → SingleOracleInfo
- 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()