Skip to main content

Module authority

Module authority 

Source
Expand description

Information about directory authorities

From a client’s point of view, an authority’s role is to sign the consensus directory.

Re-exportsΒ§

use std::net::SocketAddr; πŸ”’
use derive_deftly::Deftly; πŸ”’
use getset::Getters; πŸ”’
use tor_config::define_list_builder_accessors; πŸ”’
use tor_llcrypto::pk::rsa::RsaIdentity; πŸ”’
use tor_config::derive::prelude::*; πŸ”’

StructsΒ§

AuthorityContacts
The contact information for all directory authorities this implementation is aware of.
AuthorityContactsBuilder
A builder to create an instance of AuthorityContacts.

FunctionsΒ§

default_downloads πŸ”’
For now, an alias to default_uploads().
default_uploads πŸ”’
Returns a list of the SocketAddr for the directory authorities.
default_v3idents πŸ”’
Returns a list of the default RsaIdentitys for the directory authorities.
default_votes πŸ”’
For now, an alias to default_uploads().