Trait aleph_bft::PartialMultisignature[][src]

pub trait PartialMultisignature: Signature {
    type Signature: Signature;
    fn add_signature(
        self,
        signature: &Self::Signature,
        index: NodeIndex
    ) -> Self; }
Expand description

A type to which signatures can be aggregated.

Any signature can be added to multisignature. After adding sufficiently many signatures, the partial multisignature becomes a “complete” multisignature. Whether a multisignature is complete, can be verified with MultiKeychain::is_complete method. The signature and the index passed to the add_signature method are required to be valid.

Associated Types

Required methods

Adds the signature.

Implementors