Skip to main content

Crate thruput_node_supervisor

Crate thruput_node_supervisor 

Source
Expand description

Supervisor for the hogd-backed local node behind thruput node.

This crate owns the Rust-side lifecycle of the local runtime: process supervision, readiness and block-driver wiring, local funding state, and the JSON-RPC facade that serves the same public API as the gateway.

Re-exports§

pub use config::BlockDriverConfig;
pub use config::BlockDriverMode;
pub use config::HogdDevConfig;
pub use config::LocalAirdropConfig;
pub use config::LogLevel;
pub use config::NodeSupervisorConfig;
pub use error::NodeSupervisorError;
pub use hogd_dev::DEFAULT_HOGD_DEV_BINARY;
pub use hogd_dev::DEVNODE_BINARY_ENV;
pub use hogd_dev::HogdDevEndpoints;
pub use hogd_dev::HogdDevProcess;
pub use hogd_dev::HogdDevReadiness;
pub use hogd_dev::build_hogd_dev_spec_with_bootstrap_manifest;
pub use hogd_dev::parse_readiness_line;
pub use hogd_dev::resolve_hogd_dev_binary;
pub use hogd_dev::resolve_hogd_dev_binary_before_path;
pub use hogd_dev::resolve_hogd_dev_binary_on_path;
pub use process::ChildProcessSpec;
pub use process::ChildSupervisor;
pub use process::SupervisedChild;
pub use server::BackendPlanes;
pub use server::NodeSupervisorHandle;
pub use server::PlaneStatus;
pub use server::SupervisorStop;

Modules§

config
Configuration for the node supervisor.
error
Error types for the node supervisor.
hogd_dev
hog-devnode process adapter.
process
Minimal one-child process supervision.
server
Top-level node supervisor orchestration.

Structs§

ManualBlockProducer
Cloneable in-process control for producing blocks in manual mode.
ProducedBlock
Metadata returned after the scheduler commits a manually-produced block.
RpcBatchConcurrency
Per-array limit on active and buffered entries (1..=1024, default 128). Independent of backend submit batching and array-length limits.
UnknownConfigParamName
A name that does not belong to any parameter this build knows.

Enums§

BlockProductionError
Errors returned while manually producing a local block.
ConfigParamName
The name a chain execution parameter carries outside its XDR encoding.

Constants§

LOCAL_FAUCET_KEY_FILE
Private chain files included with persistent local-state backups. Private chain files included with persistent local-state backups. Private chain files included with persistent local-state backups. Private faucet credential included in a local-chain backup. Keep this storage identity stable across tool branding changes.
LOCAL_FUNDING_ATTEMPTS_FILE
Private chain files included with persistent local-state backups. Private chain files included with persistent local-state backups. Private chain files included with persistent local-state backups. Retained signed funding requests included in a local-chain backup.