Skip to main content

MultisigAggregatedSignatureProtocol

MultisigAggregatedSignatureProtocol Objects

class MultisigAggregatedSignatureProtocol(typing.Protocol)

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.

bitmap

def bitmap() -> int

The bitmap that indicates which committee members provided their signature.

signatures

def signatures() -> typing.List[MultisigMemberSignature]

The list of signatures from committee members