pub fn verify_proposer_slashing_for_gossip(
        &self,
        proposer_slashing: ProposerSlashing,
    ) -> Result<ObservationOutcome<ProposerSlashing>, Error> {
        let wall_clock_state = self.wall_clock_state()?;
        Ok(self.observed_proposer_slashings.lock().verify_and_observe(
            proposer_slashing,
            &wall_clock_state,
            &self.spec,
        )?)
    }
/// Verify a proposer slashing before allowing it to propagate on the gossip network.
Verify a proposer slashing before allowing it to propagate on the gossip network.
Verify a proposer slashing before allowing it to propagate on the gossip network .
pub fn verify_proposer_slashing_for_gossip(
        &self,
        proposer_slashing: ProposerSlashing,
    ) -> Result<ObservationOutcome<ProposerSlashing>, Error> {
        let wall_clock_state = self.wall_clock_state()?;
        Ok(self.observed_proposer_slashings.lock().verify_and_observe(
            proposer_slashing,
            &wall_clock_state,
            &self.spec,
        )?)
    }
pub fn verify_proposer_slashing_for_gossip ( & self , proposer_slashing : ProposerSlashing , ) -> Result < ObservationOutcome < ProposerSlashing > , Error > { let wall_clock_state = self . wall_clock_state ( ) ? ; Ok ( self . observed_proposer_slashings . lock ( ) . verify_and_observe ( proposer_slashing , & wall_clock_state , & self . spec , ) ? ) }
Verify a proposer slashing before allowing it to propagate on the gossip network.
Verify a proposer slashing before allowing it to propagate on the gossip network .
&self
proposer_slashing
ProposerSlashing