Tor  0.4.7.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
 
tor_addr_t ipv4_addr
 
uint16_t ipv4_dirport
 
uint16_t ipv4_orport
 
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 16 of file networkstatus_voter_info_st.h.

Field Documentation

◆ address

char* address

Address of this voter, in string format.

Definition at line 23 of file networkstatus_voter_info_st.h.

◆ contact

char* contact

Contact information for this voter.

Definition at line 27 of file networkstatus_voter_info_st.h.

◆ identity_digest

char identity_digest[DIGEST_LEN]

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

Definition at line 18 of file networkstatus_voter_info_st.h.

Referenced by compare_dir_src_ents_by_authority_id_().

◆ ipv4_dirport

uint16_t ipv4_dirport

Directory port of this voter

Definition at line 25 of file networkstatus_voter_info_st.h.

◆ ipv4_orport

uint16_t ipv4_orport

OR port of this voter

Definition at line 26 of file networkstatus_voter_info_st.h.

◆ legacy_id_digest

char 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 22 of file networkstatus_voter_info_st.h.

Referenced by compare_dir_src_ents_by_authority_id_().

◆ nickname

char* nickname

Nickname of this voter

Definition at line 19 of file networkstatus_voter_info_st.h.

◆ sigs

smartlist_t* sigs

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

Definition at line 32 of file networkstatus_voter_info_st.h.

Referenced by networkstatus_get_voter_sig_by_alg().

◆ vote_digest

char vote_digest[DIGEST_LEN]

Digest of this voter's vote, as signed.

Definition at line 28 of file networkstatus_voter_info_st.h.


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