Skip to main content

serve_axum_status

Function serve_axum_status 

Source
pub async fn serve_axum_status<S>(
    port: u16,
    state: S,
    modules: OptionalModules,
    max_connections: Option<usize>,
) -> Result<()>
Expand description

Serve the status-only API: no availability/node/token data source is available, so only status and the HotShot modules (submit, catchup, state-signature, config, hotshot-events) can be served. State-signature is always on; the rest follow Options.