mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove peer types dep (#8368)
This commit is contained in:
@ -12,8 +12,8 @@ description = "Types shared across network code"
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-network-types.workspace = true
|
||||
# ethereum
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
# async
|
||||
pin-project.workspace = true
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
//! Support for banning peers.
|
||||
|
||||
use reth_network_types::PeerId;
|
||||
type PeerId = alloy_primitives::B512;
|
||||
|
||||
use std::{collections::HashMap, net::IpAddr, time::Instant};
|
||||
|
||||
/// Determines whether or not the IP is globally routable.
|
||||
|
||||
Reference in New Issue
Block a user