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
| MultisigAggregatedSignature | constructor(signatures: List<UserSignature>, committee: MultisigCommittee) Construct a MultisigAggregatedSignature from a list of UserSignatures and a MultisigCommittee. |
Functions
| Name | Summary |
|---|---|
| bitmap | open override fun bitmap(): UShort The bitmap that indicates which committee members provided their signature. |
| close | @Synchronized open override fun close() |
| committee | open override fun committee(): MultisigCommittee |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| signatures | open override fun signatures(): List<MultisigMemberSignature> The list of signatures from committee members |
| toString | open override fun toString(): String |