tor  master
Data Fields
consensus_waiting_for_certs_t Struct Reference
Collaboration diagram for consensus_waiting_for_certs_t:
Collaboration graph
[legend]

Data Fields

networkstatus_tconsensus
 
char * body
 
time_t set_at
 
int dl_failed
 

Detailed Description

A v3 consensus networkstatus that we've received, but which we don't have enough certificates to be happy about.

Field Documentation

◆ body

char* body

The encoded version of the consensus, nul-terminated.

◆ consensus

networkstatus_t* consensus

The consensus itself.

◆ dl_failed

int dl_failed

Set to 1 if we've been holding on to it for so long we should maybe treat it as being bad.

◆ set_at

time_t set_at

When did we set the current value of consensus_waiting_for_certs? If this is too recent, we shouldn't try to fetch a new consensus for a little while, to give ourselves time to get certificates for this one.


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