confium_coordinator/lib.rs
1//! Distributed threshold signing coordinator.
2//!
3//! The coordinator orchestrates threshold signing sessions across distributed
4//! signers. It provides:
5//!
6//! - TCP server + client for network communication
7//! - Multi-round protocol state machine
8//! - Policy enforcement (time windows, rate limits, thresholds)
9//! - Rate limiting, backpressure, circuit breaker
10//! - Prometheus metrics, Grafana dashboards, OTLP tracing
11//! - Health checks, graceful shutdown
12//! - Persistent session store, WAL, event sourcing
13//! - Admin API, diagnostics
14//! - DKG coordination, share refresh
15
16#![warn(unsafe_code)]
17// The coordinator is internal infrastructure with 40+ modules extracted
18// from confium-tc. Most struct fields and methods need doc comments;
19// that's a dedicated effort tracked separately. Allow for now so the
20// crate compiles cleanly.
21#![allow(missing_docs)]
22// Many coordinator types are wired up incrementally — pub fields and
23// helpers exist for the next round of integration. Allow dead_code at
24// the crate level rather than annotating each item.
25#![allow(dead_code)]
26
27pub mod chaos_testing;
28pub mod circuit_breaker;
29pub mod config_validator;
30pub mod coordinator;
31pub mod coordinator_factory;
32pub mod coordinator_proptest;
33pub mod di_container;
34pub mod distributed_lock;
35pub mod dkg_coordinator;
36pub mod event_sourced;
37pub mod marketplace;
38pub mod noise_transport;
39pub mod perf_baseline;
40pub mod plugin_manifest;
41pub mod refresh_coordinator;
42pub mod request_coalescing;
43pub mod resilience_and_circuits;
44pub mod retry;
45pub mod round_coordinator;
46pub mod saga;
47pub mod shutdown;
48pub mod wal;
49
50pub mod async_event_store;
51pub mod async_session_manager;