Trait aleph_bft::MultiKeychain[][src]

pub trait MultiKeychain: KeyBox {
    type PartialMultisignature: PartialMultisignature<Signature = Self::Signature>;
    fn from_signature(
        &self,
        signature: &Self::Signature,
        index: NodeIndex
    ) -> Self::PartialMultisignature;
fn is_complete(
        &self,
        msg: &[u8],
        partial: &Self::PartialMultisignature
    ) -> bool; }
Expand description

Extends KeyBox with multisigning functionalities.

A single Signature can be rised to a Multisignature. Allows to verify whether a partial multisignature is complete (and valid).

Associated Types

Required methods

Transform a single signature to a multisignature consisting of the signature.

Checks if enough signatures have beed added.

Implementors