pub fn verify_attester_slashing_for_gossip(
        &self,
        attester_slashing: AttesterSlashing<T::EthSpec>,
    ) -> Result<ObservationOutcome<AttesterSlashing<T::EthSpec>>, Error> {
        let wall_clock_state = self.wall_clock_state()?;
        Ok(self.observed_attester_slashings.lock().verify_and_observe(
            attester_slashing,
            &wall_clock_state,
            &self.spec,
        )?)
    }
/// Verify an attester slashing before allowing it to propagate on the gossip network.
Verify an attester slashing before allowing it to propagate on the gossip network.
Verify an attester slashing before allowing it to propagate on the gossip network .
pub fn verify_attester_slashing_for_gossip(
        &self,
        attester_slashing: AttesterSlashing<T::EthSpec>,
    ) -> Result<ObservationOutcome<AttesterSlashing<T::EthSpec>>, Error> {
        let wall_clock_state = self.wall_clock_state()?;
        Ok(self.observed_attester_slashings.lock().verify_and_observe(
            attester_slashing,
            &wall_clock_state,
            &self.spec,
        )?)
    }
pub fn verify_attester_slashing_for_gossip ( & self , attester_slashing : AttesterSlashing < T :: EthSpec > , ) -> Result < ObservationOutcome < AttesterSlashing < T :: EthSpec > > , Error > { let wall_clock_state = self . wall_clock_state ( ) ? ; Ok ( self . observed_attester_slashings . lock ( ) . verify_and_observe ( attester_slashing , & wall_clock_state , & self . spec , ) ? ) }
Verify an attester slashing before allowing it to propagate on the gossip network.
Verify an attester slashing before allowing it to propagate on the gossip network .
&self
attester_slashing
AttesterSlashing<T::EthSpec>