Skip to main content

Crate pocx_aggregator

Crate pocx_aggregator 

Source
Expand description

PoCX Aggregator - High-performance mining aggregator

The aggregator acts as a proxy between miners and mining pools, providing load balancing, failover, and efficient caching of mining information.

Re-exports§

pub use config::Config;
pub use error::Error;
pub use error::Result;
pub use server::AggregatorServer;
pub use stats::Stats;
pub use stats::StatsSnapshot;
pub use callback::get_aggregator_callback;
pub use callback::set_aggregator_callback;
pub use callback::with_callback;
pub use callback::AcceptedInfo;
pub use callback::AggregatorCallback;
pub use callback::AggregatorStartedInfo;
pub use callback::BlockUpdate;
pub use callback::ForwardedInfo;
pub use callback::NoOpCallback;
pub use callback::RejectedInfo;
pub use callback::SubmissionInfo;
pub use control::clear_stop_request;
pub use control::is_stop_requested;
pub use control::request_stop;

Modules§

callback
Callback system for aggregator integration
config
control
Aggregator control signals
dashboard
db
error
logging
pool
queue
schema
server
stats
time_bending

Functions§

run_aggregator_safe
Run the aggregator with panic safety and callback error reporting.