pub(crate) fn add_accusations(&mut self, accusations: &[PublicKey]) {
        for pub_key in accusations {
            if !self.faulty.contains(pub_key) {
                self.accusations.insert(pub_key.clone());
            }
        }
    }
/// Adds new accusations from a finalized block.
Adds new accusations from a finalized block.
Adds new accusations from a finalized block .
pub(crate) fn add_accusations(&mut self, accusations: &[PublicKey]) {
        for pub_key in accusations {
            if !self.faulty.contains(pub_key) {
                self.accusations.insert(pub_key.clone());
            }
        }
    }
pub ( crate ) fn add_accusations ( & mut self , accusations : & [ PublicKey ] ) { for pub_key in accusations { if ! self . faulty . contains ( pub_key ) { self . accusations . insert ( pub_key . clone ( ) ) ; } } }
Adds new accusations from a finalized block.
Adds new accusations from a finalized block .
&mut self
accusations
&[PublicKey]
&mut self
accusations
&[PublicKey]