|
Tor 0.4.9.8
|
#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_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 43 of file vote_routerstatus_st.h.
Referenced by dircollator_add_routerstatus(), dirserv_generate_networkstatus_vote_obj(), dirserv_would_reject_router(), networkstatus_compute_consensus(), and routerstatus_format_entry().
| 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().
| 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().
| 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().
| 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().
| 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().
| vote_microdesc_hash_t* 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_().
| 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_().
| time_t published_on |
When was this router published?
Definition at line 21 of file vote_routerstatus_st.h.
Referenced by compute_routerstatus_consensus(), dirserv_generate_networkstatus_vote_obj(), networkstatus_compute_consensus(), and routerstatus_format_entry().
| 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(), dirserv_generate_networkstatus_vote_obj(), networkstatus_compute_consensus(), networkstatus_parse_vote_from_string(), routerstatus_format_entry(), and vote_routerstatus_free_().
| 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_().