mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-08 20:09:41 +00:00
Update p2p/p2p-core/src/ban.rs
Co-authored-by: Boog900 <boog900@tutanota.com>
This commit is contained in:
parent
4fa37deec5
commit
337f42f702
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ pub struct SetBan<A: NetZoneAddress> {
|
|||
pub struct BanState<A: NetZoneAddress> {
|
||||
/// Address of the peer.
|
||||
pub address: A,
|
||||
/// - If [`Some`], when this peer will be unbanned
|
||||
/// - If [`Some`], the peer is banned until this [`Instant`]
|
||||
/// - If [`None`], the peer is not currently banned
|
||||
pub unban_instant: Option<Instant>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue