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

Data Fields

char * flavor
 
consensus_flavor_t flav
 
const char * want_fps
 
smartlist_tdiff_from_digests
 
int diff_only
 

Detailed Description

Encodes the results of parsing a consensus request to figure out what consensus, and possibly what diffs, the user asked for.

Field Documentation

◆ diff_from_digests

smartlist_t* diff_from_digests

Optionally, a smartlist of sha3 digests-as-signed of the consensuses to return a diff from.

◆ diff_only

int diff_only

If true, never send a full consensus. If there is no diff, send a 404 instead.

◆ flav

flavor to retrive, as enum.

◆ flavor

char* flavor

name of the flavor to retrieve.

◆ want_fps

const char* want_fps

plus-separated list of authority fingerprints; see client_likes_consensus(). Aliases the URL in the request passed to parse_consensus_request().


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