Skip to main content

startedz

Function startedz 

Source
pub(crate) async fn startedz(__arg0: State<Arc<AppState>>) -> impl IntoResponse
Expand description

Check whether the node is started.

ยงBehavior

Returns 200 OK when the node is in HoprState::Running. Returns 412 PRECONDITION_FAILED when the node is in any other state (Uninitialized, Initializing, Indexing, Starting).

This endpoint checks only the running state, not network connectivity.