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()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MuSig2SessionRequest
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

  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. def addAllAllSignerPubkeys(__vs: Iterable[ByteString]): MuSig2SessionRequest
  5. def addAllOtherSignerPublicNonces(__vs: Iterable[ByteString]): MuSig2SessionRequest
  6. def addAllSignerPubkeys(__vs: ByteString*): MuSig2SessionRequest
  7. def addAllTweaks(__vs: Iterable[TweakDesc]): MuSig2SessionRequest
  8. def addOtherSignerPublicNonces(__vs: ByteString*): MuSig2SessionRequest
  9. def addTweaks(__vs: TweakDesc*): MuSig2SessionRequest
  10. val allSignerPubkeys: Seq[ByteString]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clearAllSignerPubkeys: MuSig2SessionRequest
  13. def clearKeyLoc: MuSig2SessionRequest
  14. def clearOtherSignerPublicNonces: MuSig2SessionRequest
  15. def clearTaprootTweak: MuSig2SessionRequest
  16. def clearTweaks: MuSig2SessionRequest
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. def companion: MuSig2SessionRequest.type
    Definition Classes
    MuSig2SessionRequest → GeneratedMessage
  19. def discardUnknownFields: MuSig2SessionRequest
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    MuSig2SessionRequest → GeneratedMessage
  24. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    MuSig2SessionRequest → GeneratedMessage
  25. def getKeyLoc: KeyLocator
  26. def getTaprootTweak: TaprootTweakDesc
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val keyLoc: Option[KeyLocator]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. val otherSignerPublicNonces: Seq[ByteString]
  33. val pregeneratedLocalNonce: ByteString
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def serializedSize: Int
    Definition Classes
    MuSig2SessionRequest → GeneratedMessage
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. val taprootTweak: Option[TaprootTweakDesc]
  38. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  39. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  40. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  41. def toProtoString: String
    Definition Classes
    MuSig2SessionRequest → GeneratedMessage
  42. val tweaks: Seq[TweakDesc]
  43. val unknownFields: UnknownFieldSet
  44. def update(ms: (Lens[MuSig2SessionRequest, MuSig2SessionRequest]) => Mutation[MuSig2SessionRequest]*): MuSig2SessionRequest
    Definition Classes
    Updatable
  45. val version: MuSig2Version
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. def withAllSignerPubkeys(__v: Seq[ByteString]): MuSig2SessionRequest
  50. def withKeyLoc(__v: KeyLocator): MuSig2SessionRequest
  51. def withOtherSignerPublicNonces(__v: Seq[ByteString]): MuSig2SessionRequest
  52. def withPregeneratedLocalNonce(__v: ByteString): MuSig2SessionRequest
  53. def withTaprootTweak(__v: TaprootTweakDesc): MuSig2SessionRequest
  54. def withTweaks(__v: Seq[TweakDesc]): MuSig2SessionRequest
  55. def withUnknownFields(__v: UnknownFieldSet): MuSig2SessionRequest
  56. def withVersion(__v: MuSig2Version): MuSig2SessionRequest
  57. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  58. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    MuSig2SessionRequest → GeneratedMessage
  59. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped