SessionCtx

final case class SessionCtx(aggNonce: ByteVector, numPubKeys: Int, pubKeys: List[ByteVector], numTweaks: Int, tweaks: List[ByteVector32], isXonlyTweak: List[Boolean], message: ByteVector)

The Session Context is a data structure consisting of the following elements:

Value parameters:
aggNonce

The aggregate public nonce aggnonce: a 66-byte array

isXonlyTweak

The tweak modes is_xonly_t1..v : v booleans

message

The message m: a byte array

numPubKeys

The number u of public keys with 0 < u < 2^32

numTweaks

The number v of tweaks with 0 ≤ v < 2^32

pubKeys

The plain public keys pk1..u: u 33-byte arrays

tweaks

The tweaks tweak1..v: v 32-byte arrays

Source:
Musig2.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def sessionValues(adaptorPoint: Option[XOnlyPublicKey]): SessionValues
Implicitly added by sessionCtxOps

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product