download_detached_signatures

Function download_detached_signatures 

Source
pub async fn download_detached_signatures(
    endpoints: Option<&[DirPort]>,
    request_timeout: Option<Duration>,
) -> Result<DownloadResult, Error>
Expand description

Downloads detached signatures for the next consensus.

Detached signatures are authority signatures collected during the consensus voting process. They are used to create the final signed consensus document.

§Arguments

  • endpoints - Optional list of endpoints to try.
  • request_timeout - Optional timeout for each download attempt.

§Returns

A DownloadResult containing the detached signatures.

§Errors

Returns Error::Download if all endpoints fail.

§Note

This is primarily useful for directory authority operators and researchers studying the consensus process.