Enum diem_logger::prelude::SecurityEvent
source · pub enum SecurityEvent {
Show 14 variants
InvalidTransactionMempool,
InvalidNetworkEventMempool,
ConsensusInvalidMessage,
ConsensusEquivocatingVote,
InvalidConsensusProposal,
InvalidConsensusRound,
InvalidSyncInfoMsg,
InvalidRetrievedBlock,
InvalidBlock,
StateSyncInvalidChunk,
InvalidNetworkEventHC,
InvalidHealthCheckerMsg,
InvalidNetworkEvent,
NoiseHandshake,
}
Variants§
InvalidTransactionMempool
Mempool received a transaction from another peer with an invalid signature
InvalidNetworkEventMempool
Mempool received an invalid network event
ConsensusInvalidMessage
Consensus received an invalid message (not well-formed, invalid vote data or incorrect signature)
ConsensusEquivocatingVote
Consensus received an equivocating vote
InvalidConsensusProposal
Consensus received an invalid proposal
InvalidConsensusRound
Consensus received an invalid new round message
InvalidSyncInfoMsg
Consensus received an invalid sync info message
InvalidRetrievedBlock
A received block is invalid
InvalidBlock
A block being committed or executed is invalid
StateSyncInvalidChunk
Invalid chunk of transactions received
InvalidNetworkEventHC
HealthChecker received an invalid network event
InvalidHealthCheckerMsg
HealthChecker received an invalid message
InvalidNetworkEvent
Network received an invalid message from a remote peer
NoiseHandshake
A failed noise handshake that’s either a clear bug or indicates some security issue.
Trait Implementations§
source§impl Clone for SecurityEvent
impl Clone for SecurityEvent
source§fn clone(&self) -> SecurityEvent
fn clone(&self) -> SecurityEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SecurityEvent
impl Debug for SecurityEvent
source§impl<'de> Deserialize<'de> for SecurityEvent
impl<'de> Deserialize<'de> for SecurityEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more