tor  master
Data Fields
vote_routerstatus_t Struct Reference

#include <or.h>

Collaboration diagram for vote_routerstatus_t:
Collaboration graph
[legend]

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_tmicrodesc
 
uint8_t ed25519_id [ED25519_PUBKEY_LEN]
 

Detailed Description

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

Field Documentation

◆ ed25519_id

uint8_t ed25519_id[ED25519_PUBKEY_LEN]

Ed25519 identity for this router, or zero if it has none.

◆ 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.

◆ flags

uint64_t flags

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

◆ 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.

◆ has_measured_bw

unsigned int has_measured_bw

The vote had a measured bw

◆ measured_bw_kb

uint32_t measured_bw_kb

Measured bandwidth (capacity) of the router

◆ microdesc

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

◆ protocols

char* protocols

The protocols that this authority says this router provides.

◆ status

Underlying 'status' object for this router. Flags are redundant.

◆ version

char* version

The version that the authority says this router is running.


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