tor  0.4.2.0-alpha-dev
Data Fields
networkstatus_voter_info_t Struct Reference

#include <networkstatus_voter_info_st.h>

Data Fields

char identity_digest [DIGEST_LEN]
 
char * nickname
 
char legacy_id_digest [DIGEST_LEN]
 
char * address
 
uint32_t addr
 
uint16_t dir_port
 
uint16_t or_port
 
char * contact
 
char vote_digest [DIGEST_LEN]
 
smartlist_tsigs
 

Detailed Description

Information about a single voter in a vote or a consensus.

Definition at line 11 of file networkstatus_voter_info_st.h.

Field Documentation

◆ addr

uint32_t networkstatus_voter_info_t::addr

Address of this voter, in IPv4, in host order.

Definition at line 19 of file networkstatus_voter_info_st.h.

◆ address

char* networkstatus_voter_info_t::address

Address of this voter, in string format.

Definition at line 18 of file networkstatus_voter_info_st.h.

◆ contact

char* networkstatus_voter_info_t::contact

Contact information for this voter.

Definition at line 22 of file networkstatus_voter_info_st.h.

◆ dir_port

uint16_t networkstatus_voter_info_t::dir_port

Directory port of this voter

Definition at line 20 of file networkstatus_voter_info_st.h.

◆ identity_digest

char networkstatus_voter_info_t::identity_digest[DIGEST_LEN]

Declared SHA-1 digest of this voter's identity key

Definition at line 13 of file networkstatus_voter_info_st.h.

Referenced by compare_dir_src_ents_by_authority_id_().

◆ legacy_id_digest

char networkstatus_voter_info_t::legacy_id_digest[DIGEST_LEN]

Digest of this voter's "legacy" identity key, if any. In vote only; for consensuses, we treat legacy keys as additional signers.

Definition at line 17 of file networkstatus_voter_info_st.h.

Referenced by compare_dir_src_ents_by_authority_id_().

◆ nickname

char* networkstatus_voter_info_t::nickname

Nickname of this voter

Definition at line 14 of file networkstatus_voter_info_st.h.

◆ or_port

uint16_t networkstatus_voter_info_t::or_port

OR port of this voter

Definition at line 21 of file networkstatus_voter_info_st.h.

◆ sigs

smartlist_t* networkstatus_voter_info_t::sigs

The signature of the document and the signature's status.

Definition at line 27 of file networkstatus_voter_info_st.h.

Referenced by networkstatus_get_voter_sig_by_alg().

◆ vote_digest

char networkstatus_voter_info_t::vote_digest[DIGEST_LEN]

Digest of this voter's vote, as signed.

Definition at line 23 of file networkstatus_voter_info_st.h.


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