Skip to main content

MultisigAggregatedSignatureInterface

type MultisigAggregatedSignatureInterface

Aggregated signature from members of a multisig committee.

BCS

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

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

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

```text 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.

type MultisigAggregatedSignatureInterface interface {
// The bitmap that indicates which committee members provided their
// signature.
Bitmap() uint16
Committee() *MultisigCommittee
// The list of signatures from committee members
Signatures() []*MultisigMemberSignature
}