mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
test: Modify can_serde_config_test (#1048)
Co-authored-by: lambdaclass-user <github@lambdaclass.com> Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
This commit is contained in:
committed by
GitHub
parent
55fc6924b9
commit
be70f810e9
@ -4,7 +4,7 @@ use std::{collections::HashMap, net::IpAddr, time::Instant};
|
||||
|
||||
/// Stores peers that should be taken out of circulation either indefinitely or until a certain
|
||||
/// timestamp
|
||||
#[derive(Debug, Clone, Default)]
|
||||
#[derive(Debug, Clone, Default, PartialEq)]
|
||||
pub struct BanList {
|
||||
/// A set of IPs whose packets get dropped instantly.
|
||||
banned_ips: HashMap<IpAddr, Option<Instant>>,
|
||||
|
||||
Reference in New Issue
Block a user