Skip to main content

MultisigAggregatedSignature

open class MultisigAggregatedSignature : Disposable, AutoCloseable, MultisigAggregatedSignatureInterface

Aggregated signature from members of a multisig committee.

BCS

The BCS serialized form for this type is defined by the following ABNF:

multisig-aggregated-signature = (vector multisig-member-signature)
u16 ; bitmap
multisig-committee

There is also a legacy encoding for this type defined as:

legacy-multisig-aggregated-signature = (vector multisig-member-signature)
roaring-bitmap ; bitmap
legacy-multisig-committee
roaring-bitmap = bytes ; where the contents of the bytes are valid
; according to the serialized spec for
; roaring bitmaps

See https://github.com/RoaringBitmap/RoaringFormatSpec for the specification for the serialized format of RoaringBitmaps.

Constructors

MultisigAggregatedSignatureconstructor(signatures: List<UserSignature>, committee: MultisigCommittee)
Construct a MultisigAggregatedSignature from a list of UserSignatures and a MultisigCommittee.

Functions

NameSummary
bitmapopen override fun bitmap(): UShort
The bitmap that indicates which committee members provided their signature.
close@Synchronized
open override fun close()
committeeopen override fun committee(): MultisigCommittee
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
signaturesopen override fun signatures(): List<MultisigMemberSignature>
The list of signatures from committee members
toStringopen override fun toString(): String