Drives one participant through Gennaro DKG rounds (C1).
Constructors
-
CeremonySession.create({required ThresholdParams params, required Uint8List ceremonyId, required String participantId, required int participantIndex, List<
String> ? participantIds}) -
Creates a new session for
participantIndexin1..params.n.factory - CeremonySession.fromCheckpoint(Uint8List bytes)
-
Restores a session saved with exportCheckpoint.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isComplete → bool
-
Whether finalize may succeed.
no setter
- participantIndex → int
-
Participant index bound to this session.
no setter
- round → int
-
Current protocol round (
0= setup).no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
exportCheckpoint(
) → Uint8List - Serializes in-progress state for dir-transport CLI (v2).
-
finalize(
) → ({PublicKey publicKey, Share share, Transcript transcript}) - Final share, joint public key, and sealed transcript.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processInbox(
Iterable< DkgMessage> inbox) → List<DkgMessage> - Processes peer messages; returns newly generated outbound messages.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited