final case class MuSig2SessionRequest(keyLoc: Option[KeyLocator] = _root_.scala.None, allSignerPubkeys: Seq[ByteString] = _root_.scala.Seq.empty, otherSignerPublicNonces: Seq[ByteString] = _root_.scala.Seq.empty, tweaks: Seq[TweakDesc] = _root_.scala.Seq.empty, taprootTweak: Option[TaprootTweakDesc] = _root_.scala.None, version: MuSig2Version = signrpc.MuSig2Version.MUSIG2_VERSION_UNDEFINED, pregeneratedLocalNonce: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[MuSig2SessionRequest] with Product with Serializable
- keyLoc
The key locator that identifies which key to use for signing.
- allSignerPubkeys
A list of all public keys (serialized in 32-byte x-only format for v0.4.0 and 33-byte compressed format for v1.0.0rc2!) participating in the signing session. The list will always be sorted lexicographically internally. This must include the local key which is described by the above key_loc.
- otherSignerPublicNonces
An optional list of all public nonces of other signing participants that might already be known.
- tweaks
A series of optional generic tweaks to be applied to the the aggregated public key.
- taprootTweak
An optional taproot specific tweak that must be specified if the MuSig2 combined key will be used as the main taproot key of a taproot output on-chain.
- version
The mandatory version of the MuSig2 BIP draft to use. This is necessary to differentiate between the changes that were made to the BIP while this experimental RPC was already released. Some of those changes affect how the combined key and nonces are created.
- pregeneratedLocalNonce
A set of pre generated secret local nonces to use in the musig2 session. This field is optional. This can be useful for protocols that need to send nonces ahead of time before the set of signer keys are known. This value MUST be 97 bytes and be the concatenation of two CSPRNG generated 32 byte values and local public key used for signing as specified in the key_loc field.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- MuSig2SessionRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MuSig2SessionRequest(keyLoc: Option[KeyLocator] = _root_.scala.None, allSignerPubkeys: Seq[ByteString] = _root_.scala.Seq.empty, otherSignerPublicNonces: Seq[ByteString] = _root_.scala.Seq.empty, tweaks: Seq[TweakDesc] = _root_.scala.Seq.empty, taprootTweak: Option[TaprootTweakDesc] = _root_.scala.None, version: MuSig2Version = signrpc.MuSig2Version.MUSIG2_VERSION_UNDEFINED, pregeneratedLocalNonce: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- keyLoc
The key locator that identifies which key to use for signing.
- allSignerPubkeys
A list of all public keys (serialized in 32-byte x-only format for v0.4.0 and 33-byte compressed format for v1.0.0rc2!) participating in the signing session. The list will always be sorted lexicographically internally. This must include the local key which is described by the above key_loc.
- otherSignerPublicNonces
An optional list of all public nonces of other signing participants that might already be known.
- tweaks
A series of optional generic tweaks to be applied to the the aggregated public key.
- taprootTweak
An optional taproot specific tweak that must be specified if the MuSig2 combined key will be used as the main taproot key of a taproot output on-chain.
- version
The mandatory version of the MuSig2 BIP draft to use. This is necessary to differentiate between the changes that were made to the BIP while this experimental RPC was already released. Some of those changes affect how the combined key and nonces are created.
- pregeneratedLocalNonce
A set of pre generated secret local nonces to use in the musig2 session. This field is optional. This can be useful for protocols that need to send nonces ahead of time before the set of signer keys are known. This value MUST be 97 bytes and be the concatenation of two CSPRNG generated 32 byte values and local public key used for signing as specified in the key_loc field.
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 addAllAllSignerPubkeys(__vs: Iterable[ByteString]): MuSig2SessionRequest
- def addAllOtherSignerPublicNonces(__vs: Iterable[ByteString]): MuSig2SessionRequest
- def addAllSignerPubkeys(__vs: ByteString*): MuSig2SessionRequest
- def addAllTweaks(__vs: Iterable[TweakDesc]): MuSig2SessionRequest
- def addOtherSignerPublicNonces(__vs: ByteString*): MuSig2SessionRequest
- def addTweaks(__vs: TweakDesc*): MuSig2SessionRequest
- val allSignerPubkeys: Seq[ByteString]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAllSignerPubkeys: MuSig2SessionRequest
- def clearKeyLoc: MuSig2SessionRequest
- def clearOtherSignerPublicNonces: MuSig2SessionRequest
- def clearTaprootTweak: MuSig2SessionRequest
- def clearTweaks: MuSig2SessionRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: MuSig2SessionRequest.type
- Definition Classes
- MuSig2SessionRequest → GeneratedMessage
- def discardUnknownFields: MuSig2SessionRequest
- 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 getField(__field: FieldDescriptor): PValue
- Definition Classes
- MuSig2SessionRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- MuSig2SessionRequest → GeneratedMessage
- def getKeyLoc: KeyLocator
- def getTaprootTweak: TaprootTweakDesc
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyLoc: Option[KeyLocator]
- 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()
- val otherSignerPublicNonces: Seq[ByteString]
- val pregeneratedLocalNonce: ByteString
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- MuSig2SessionRequest → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val taprootTweak: Option[TaprootTweakDesc]
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- MuSig2SessionRequest → GeneratedMessage
- val tweaks: Seq[TweakDesc]
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[MuSig2SessionRequest, MuSig2SessionRequest]) => Mutation[MuSig2SessionRequest]*): MuSig2SessionRequest
- Definition Classes
- Updatable
- val version: MuSig2Version
- 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()
- def withAllSignerPubkeys(__v: Seq[ByteString]): MuSig2SessionRequest
- def withKeyLoc(__v: KeyLocator): MuSig2SessionRequest
- def withOtherSignerPublicNonces(__v: Seq[ByteString]): MuSig2SessionRequest
- def withPregeneratedLocalNonce(__v: ByteString): MuSig2SessionRequest
- def withTaprootTweak(__v: TaprootTweakDesc): MuSig2SessionRequest
- def withTweaks(__v: Seq[TweakDesc]): MuSig2SessionRequest
- def withUnknownFields(__v: UnknownFieldSet): MuSig2SessionRequest
- def withVersion(__v: MuSig2Version): MuSig2SessionRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- MuSig2SessionRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage