Skip to main content

decdn_node/
lib.rs

1//! deCDN node daemon library — runtime, handlers, dispatch rate limiting,
2//! metrics, and the admin RPC server (`appendix-local-admin-http.md`).
3//!
4//! The binary target (`src/main.rs`) is a thin clap shell: parse `--config`
5//! plus a single `run` subcommand and call into [`commands::run`].
6//! Wire types and shared CLI/config schema live in [`decdn_common`]; the
7//! user-facing CLI binary (`decdn`) lives in `crates/cli/`.
8
9pub mod admin;
10pub mod binding_check;
11pub mod blacklist_watcher;
12pub mod buyer_channel;
13pub mod buyer_ledgers;
14pub mod chain_events;
15pub mod chain_freshness;
16pub mod channel_store;
17pub mod coarse_clock;
18pub mod commands;
19pub mod content_deny;
20pub mod dht;
21pub mod dispatch;
22pub mod fee_shares;
23pub mod fee_shares_watcher;
24pub mod handlers;
25pub mod load_shed;
26pub mod metrics;
27pub(crate) mod net;
28pub mod node_origin;
29pub mod onchain_tx;
30pub mod payment_settlement;
31pub mod pool_view;
32pub(crate) mod prune_guard;
33pub mod rate_limit;
34pub mod receipt_log;
35pub(crate) mod rpc_metrics;
36pub mod runtime;
37pub mod selection;
38pub mod serve_economics;
39pub mod slash_watcher;
40pub mod stop_handle;
41pub mod systemd_watchdog;
42pub mod warming_allowance;
43pub(crate) mod warn_throttle;