DkgCommitmentSet class

Holds the list of public commitments associated with each identifier. These must be the same across all participants. Each participant should verify that all other participants have the same set by receiving a signed hash of commitments from each participant and verifying that they are the same.

Constructors

DkgCommitmentSet.new(DkgCommitmentList commitments)
Takes a list of commitments with each element containing a tuple of the Identifier followed by the associated DkgPublicCommitment.
DkgCommitmentSet.fromReader(BytesReader reader)

Properties

hash Uint8List
no setter
hashCode int
The hash code for this object.
no setterinherited
list DkgCommitmentList
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Obtains the cached size of the object
no setterinherited

Methods

nativeListForId(Identifier id) List<DkgCommitmentForIdentifier>
Obtains the underlying native list to past to Rust with the entry removed for the calling participant given by id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
Obtains a cached Uint8List with data serialized for this object
inherited
toHex() String
inherited
toString() String
A string representation of this object.
inherited
write(Writer writer) → void
Override to write data into writer

Operators

operator ==(Object other) bool
The equality operator.
inherited