Tor
0.4.7.0-alpha-dev
|
#include <vote_routerstatus_st.h>
Data Fields | |
routerstatus_t | status |
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_t * | microdesc |
uint8_t | ed25519_id [ED25519_PUBKEY_LEN] |
The claim about a single router, made in a vote.
Definition at line 18 of file vote_routerstatus_st.h.
uint8_t ed25519_id[ED25519_PUBKEY_LEN] |
Ed25519 identity for this router, or zero if it has none.
Definition at line 42 of file vote_routerstatus_st.h.
Referenced by dirserv_would_reject_router().
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 37 of file vote_routerstatus_st.h.
Referenced by dircollator_add_routerstatus().
uint64_t flags |
Bit-field for all recognized flags; index into networkstatus_t.known_flags.
Definition at line 24 of file vote_routerstatus_st.h.
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 33 of file vote_routerstatus_st.h.
unsigned int has_measured_bw |
The vote had a measured bw
Definition at line 30 of file vote_routerstatus_st.h.
Referenced by measured_bw_line_apply().
uint32_t measured_bw_kb |
Measured bandwidth (capacity) of the router
Definition at line 38 of file vote_routerstatus_st.h.
Referenced by measured_bw_line_apply().
vote_microdesc_hash_t* microdesc |
The hash or hashes that the authority claims this microdesc has.
Definition at line 40 of file vote_routerstatus_st.h.
Referenced by vote_routerstatus_free_().
char* protocols |
The protocols that this authority says this router provides.
Definition at line 28 of file vote_routerstatus_st.h.
Referenced by vote_routerstatus_free_().
routerstatus_t status |
Underlying 'status' object for this router. Flags are redundant.
Definition at line 19 of file vote_routerstatus_st.h.
Referenced by compare_digest_to_vote_routerstatus_entry(), compare_vote_rs(), compute_routerstatus_consensus(), dircollator_add_routerstatus(), and vote_routerstatus_free_().
char* version |
The version that the authority says this router is running.
Definition at line 26 of file vote_routerstatus_st.h.
Referenced by vote_routerstatus_free_().