mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore(net): extract NetworkHandle methods for launching node to traits (#9966)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
//! Network cache support
|
||||
|
||||
use core::hash::BuildHasher;
|
||||
use std::{fmt, hash::Hash};
|
||||
|
||||
use derive_more::{Deref, DerefMut};
|
||||
use itertools::Itertools;
|
||||
// use linked_hash_set::LinkedHashSet;
|
||||
use schnellru::{ByLength, Limiter, RandomState, Unlimited};
|
||||
use std::{fmt, hash::Hash};
|
||||
|
||||
/// A minimal LRU cache based on a [`LruMap`](schnellru::LruMap) with limited capacity.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user