pub fn is_complete(&self, msg: &[u8], partial: &MultiSignature) -> bool {
        let signature_count = partial.iter().count();
        if signature_count < self.threshold() {
            return false;
        }
        partial.iter().all(|(i, sgn)| self.verify(msg, sgn, i))
    }
/// Verifies whether the given signature set is a correct and complete multisignature of the
/// message. Completeness requires more than 2/3 of all authorities.
Verifies whether the given signature set is a correct and complete multisignature of the
message. Completeness requires more than 2/3 of all authorities.
Verifies whether the given signature set is a correct and complete multisignature of the message . Completeness requires more than 2 / 3 of all authorities .
pub fn is_complete(&self, msg: &[u8], partial: &MultiSignature) -> bool {
        let signature_count = partial.iter().count();
        if signature_count < self.threshold() {
            return false;
        }
        partial.iter().all(|(i, sgn)| self.verify(msg, sgn, i))
    }
pub fn is_complete ( & self , msg : & [ u8 ] , partial : & MultiSignature ) -> bool { let signature_count = partial . iter ( ) . count ( ) ; if signature_count < self . threshold ( ) { return false ; } partial . iter ( ) . all ( | ( i , sgn ) | self . verify ( msg , sgn , i ) ) }
Verifies whether the given signature set is a correct and complete multisignature of the
message.
Verifies whether the given signature set is a correct and complete multisignature of the message .
&self
msg
&[u8]
partial
&MultiSignature
&self
msg
&[u8]
partial
&MultiSignature