Tor 0.4.9.3-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
vote_routerstatus_t Struct Reference

#include <vote_routerstatus_st.h>

Data Fields

routerstatus_t status
 
time_t published_on
 
uint64_t flags
 
char * version
 
char * protocols
 
unsigned int has_measured_bw:1
 
unsigned int has_ed25519_listing:1
 
unsigned int ed25519_reflects_consensus:1
 
uint32_t measured_bw_kb
 
vote_microdesc_hash_tmicrodesc
 
uint8_t ed25519_id [ED25519_PUBKEY_LEN]
 

Detailed Description

The claim about a single router, made in a vote.

Definition at line 18 of file vote_routerstatus_st.h.

Field Documentation

◆ ed25519_id

uint8_t ed25519_id[ED25519_PUBKEY_LEN]

◆ ed25519_reflects_consensus

unsigned int ed25519_reflects_consensus

True if the Ed25519 listing here is the consensus-opinion for the Ed25519 listing; false if there was no consensus on Ed25519 key status, or if this VRS doesn't reflect it.

Definition at line 38 of file vote_routerstatus_st.h.

Referenced by dircollator_add_routerstatus(), and networkstatus_compute_consensus().

◆ flags

uint64_t flags

Bit-field for all recognized flags; index into networkstatus_t.known_flags.

Definition at line 25 of file vote_routerstatus_st.h.

Referenced by networkstatus_compute_consensus().

◆ has_ed25519_listing

unsigned int has_ed25519_listing

True iff the vote included an entry for ed25519 ID, or included "id ed25519 none" to indicate that there was no ed25519 ID.

Definition at line 34 of file vote_routerstatus_st.h.

Referenced by dircollator_add_routerstatus().

◆ has_measured_bw

unsigned int has_measured_bw

The vote had a measured bw

Definition at line 31 of file vote_routerstatus_st.h.

Referenced by measured_bw_line_apply(), networkstatus_compute_consensus(), and routerstatus_format_entry().

◆ measured_bw_kb

uint32_t measured_bw_kb

Measured bandwidth (capacity) of the router

Definition at line 39 of file vote_routerstatus_st.h.

Referenced by measured_bw_line_apply(), networkstatus_compute_consensus(), and routerstatus_format_entry().

◆ microdesc

The hash or hashes that the authority claims this microdesc has.

Definition at line 41 of file vote_routerstatus_st.h.

Referenced by dirserv_generate_networkstatus_vote_obj(), vote_routerstatus_find_microdesc_hash(), and vote_routerstatus_free_().

◆ protocols

char* protocols

The protocols that this authority says this router provides.

Definition at line 29 of file vote_routerstatus_st.h.

Referenced by dirserv_generate_networkstatus_vote_obj(), networkstatus_compute_consensus(), and vote_routerstatus_free_().

◆ published_on

time_t published_on

◆ status

◆ version

char* version

The version that the authority says this router is running.

Definition at line 27 of file vote_routerstatus_st.h.

Referenced by dirserv_generate_networkstatus_vote_obj(), networkstatus_compute_consensus(), and vote_routerstatus_free_().


The documentation for this struct was generated from the following file: