tor  0.4.1.0-alpha-dev
vote_routerstatus_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef VOTE_ROUTERSTATUS_ST_H
8 #define VOTE_ROUTERSTATUS_ST_H
9 
10 #include "feature/nodelist/routerstatus_st.h"
11 #include "lib/defs/x25519_sizes.h"
12 
19 #define MAX_KNOWN_FLAGS_IN_VOTE 64
20  uint64_t flags;
22  char *version;
24  char *protocols;
26  unsigned int has_measured_bw:1;
29  unsigned int has_ed25519_listing:1;
34  uint32_t measured_bw_kb;
38  uint8_t ed25519_id[ED25519_PUBKEY_LEN];
39 };
40 
41 #endif
Definitions for sizes of x25519 keys and elements.
unsigned int has_ed25519_listing
uint8_t ed25519_id[ED25519_PUBKEY_LEN]
vote_microdesc_hash_t * microdesc
unsigned int ed25519_reflects_consensus