reth_node_ethstats/
lib.rs

1//!
2//! `EthStats` client support for Reth.
3//!
4//! This crate provides the necessary components to connect to, authenticate with, and report
5//! node and network statistics to an `EthStats` server. It includes abstractions for `WebSocket`
6//! connections, error handling, event/message types, and the main `EthStats` service logic.
7//!
8//! - `connection`: `WebSocket` connection management and utilities
9//! - `error`: Error types for connection and `EthStats` operations
10//! - `ethstats`: Main service logic for `EthStats` client
11//! - `events`: Data structures for `EthStats` protocol messages
12
13#![doc(
14    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
15    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
16    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
17)]
18#![cfg_attr(not(test), warn(unused_crate_dependencies))]
19#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
20
21mod connection;
22mod credentials;
23
24mod error;
25
26mod ethstats;
27pub use ethstats::*;
28
29mod events;
30pub use events::*;