10 lines
250 B
Rust
10 lines
250 B
Rust
|
|
// InfractionType keeps the IP scoring inputs typed all the way to the scoring function.
|
||
|
|
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||
|
|
pub enum InfractionType {
|
||
|
|
BadRpcCall,
|
||
|
|
BadMinerIpUpdate,
|
||
|
|
BadTorrent,
|
||
|
|
RpcFloodAttack,
|
||
|
|
BadBlock,
|
||
|
|
}
|