mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: extract peer types to net/types (#7912)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
committed by
GitHub
parent
6bdba8a2a6
commit
cc4a418ddf
@ -13,7 +13,7 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives.workspace = true
|
||||
reth-network-types.workspace = true
|
||||
|
||||
# async
|
||||
pin-project.workspace = true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
//! Support for banning peers.
|
||||
|
||||
use reth_primitives::PeerId;
|
||||
use reth_network_types::PeerId;
|
||||
use std::{collections::HashMap, net::IpAddr, time::Instant};
|
||||
|
||||
/// Determines whether or not the IP is globally routable.
|
||||
|
||||
Reference in New Issue
Block a user