mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(net): move reth_network::BlockDownloaderProvider to reth-network-api (#10003)
This commit is contained in:
@ -47,4 +47,11 @@ pub mod test_utils;
|
||||
|
||||
pub mod reputation;
|
||||
|
||||
pub use bodies::client::BodiesClient;
|
||||
pub use headers::client::HeadersClient;
|
||||
pub use reputation::{Reputation, ReputationChange, ReputationChangeKind, ReputationChangeWeights};
|
||||
|
||||
/// Helper trait that unifies network behaviour needed for fetching blocks.
|
||||
pub trait BlockClient: HeadersClient + BodiesClient + Unpin + Clone {}
|
||||
|
||||
impl<T> BlockClient for T where T: HeadersClient + BodiesClient + Unpin + Clone {}
|
||||
|
||||
Reference in New Issue
Block a user