Enum aleph_bft::PartiallyMultisigned [−][src]
pub enum PartiallyMultisigned<'a, T: Signable, MK: MultiKeychain> { Incomplete { unchecked: UncheckedSigned<T, MK::PartialMultisignature>, }, Complete { multisigned: Multisigned<'a, T, MK>, }, }
Expand description
Signable data together with a valid partial multisignature.
Instances of this type keep track whether the partial multisignautre is complete or not.
If the multisignature is complete, you can get Multisigned by pattern matching
against the variant PartiallyMultisigned::Complete.
Variants
Fields of Incomplete
unchecked: UncheckedSigned<T, MK::PartialMultisignature>Fields of Complete
multisigned: Multisigned<'a, T, MK>Implementations
Create a partially multisigned object.
Chceck if the partial multisignature is complete.
Get a reference to the multisigned object.
Return the object that is being signed.
Adds a signature and checks if multisignature is complete.