// 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, }