mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-11 07:25:09 -05:00
* feat(net): add block request manager * refactor: change ommers type to Header * feat: impl handlers * rename to EthRequestHandler * impl checks * fix: skip as step * chore: rustfmt
38 lines
917 B
Rust
38 lines
917 B
Rust
#![warn(missing_docs)]
|
|
#![deny(unused_must_use, rust_2018_idioms)]
|
|
#![doc(test(
|
|
no_crate_inject,
|
|
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
|
|
))]
|
|
|
|
//! reth P2P networking.
|
|
//!
|
|
//! Ethereum's networking protocol is specified in [devp2p](https://github.com/ethereum/devp2p).
|
|
//!
|
|
//! In order for a node to join the ethereum p2p network it needs to know what nodes are already
|
|
//! port of that network. This includes public identities (public key) and addresses (where to reach
|
|
//! them).
|
|
|
|
mod cache;
|
|
mod config;
|
|
mod discovery;
|
|
pub mod error;
|
|
pub mod eth_requests;
|
|
mod fetch;
|
|
mod import;
|
|
mod listener;
|
|
mod manager;
|
|
mod message;
|
|
mod network;
|
|
pub mod peers;
|
|
mod session;
|
|
mod state;
|
|
mod swarm;
|
|
pub mod transactions;
|
|
|
|
pub use config::NetworkConfig;
|
|
pub use fetch::FetchClient;
|
|
pub use manager::{NetworkEvent, NetworkManager};
|
|
pub use network::NetworkHandle;
|
|
pub use peers::PeersConfig;
|