mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
* refactor: headers client * chore: rustfmt * chore(clippy): make clippy happy * address comments * use Error instead * fix(sync): headers test client & stage tests (#255) * headers test client & stage tests * fix timeout test * fix import Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
18 lines
603 B
Rust
18 lines
603 B
Rust
/// Traits for implementing P2P block body clients.
|
|
pub mod bodies;
|
|
|
|
/// Traits for implementing P2P Header Clients. Also includes implementations
|
|
/// of a Linear and a Parallel downloader generic over the [`Consensus`] and
|
|
/// [`HeadersClient`].
|
|
///
|
|
/// [`Consensus`]: crate::consensus::Consensus
|
|
/// [`HeadersClient`]: crate::p2p::headers::HeadersClient
|
|
pub mod headers;
|
|
|
|
/// Error types broadly used by p2p interfaces for any operation which may produce an error when
|
|
/// interacting with the network implementation
|
|
pub mod error;
|
|
|
|
/// Commonly used traits when implementing clients.
|
|
pub mod traits;
|