Skip to main content

Module api

Module api 

Source
Expand description

Implements the client API through which users interact with the federation

Structsยง

ConsensusApi

Constantsยง

MAX_OUTPUTS_OUTCOMES_BATCH ๐Ÿ”’
Maximum number of output outcomes a single await_outputs_outcomes request may ask for. The endpoint is public and unauthenticated and the requested range is used verbatim to size a Vec, so without a cap one request can trigger a terabyte-scale allocation and abort the guardian process.

Functionsยง

backup_statistics_static ๐Ÿ”’
checked_outputs_outcomes_count ๐Ÿ”’
Number of output outcomes outpoint_range asks for, if it is a range we are willing to serve.
server_endpoints
sign_guardian_metadata_preserving_iroh_endpoint ๐Ÿ”’