mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
protover: Fix merge forward from 035
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -260,64 +260,6 @@ char *networkstatus_get_detached_signatures(smartlist_t *consensuses);
|
||||
STATIC microdesc_t *dirvote_create_microdescriptor(const routerinfo_t *ri,
|
||||
int consensus_method);
|
||||
|
||||
/** The recommended relay protocols for this authority's votes.
|
||||
* Recommending a new protocol causes old tor versions to log a warning.
|
||||
*/
|
||||
#define DIRVOTE_RECOMMEND_RELAY_PROTO \
|
||||
"Cons=2 " \
|
||||
"Desc=2 " \
|
||||
"DirCache=2 " \
|
||||
"HSDir=2 " \
|
||||
"HSIntro=4 " \
|
||||
"HSRend=2 " \
|
||||
"Link=4-5 " \
|
||||
"LinkAuth=3 " \
|
||||
"Microdesc=2 " \
|
||||
"Relay=2"
|
||||
|
||||
/** The recommended client protocols for this authority's votes.
|
||||
* Recommending a new protocol causes old tor versions to log a warning.
|
||||
*/
|
||||
#define DIRVOTE_RECOMMEND_CLIENT_PROTO \
|
||||
"Cons=2 " \
|
||||
"Desc=2 " \
|
||||
"DirCache=2 " \
|
||||
"HSDir=2 " \
|
||||
"HSIntro=4 " \
|
||||
"HSRend=2 " \
|
||||
"Link=4-5 " \
|
||||
"Microdesc=2 " \
|
||||
"Relay=2"
|
||||
|
||||
/** The required relay protocols for this authority's votes.
|
||||
* WARNING: Requiring a new protocol causes old tor versions to shut down.
|
||||
* Requiring the wrong protocols can break the tor network.
|
||||
* See Proposal 303: When and how to remove support for protocol versions.
|
||||
*/
|
||||
#define DIRVOTE_REQUIRE_RELAY_PROTO \
|
||||
"Cons=2 " \
|
||||
"Desc=2 " \
|
||||
"DirCache=2 " \
|
||||
"HSDir=2 " \
|
||||
"HSIntro=4 " \
|
||||
"HSRend=2 " \
|
||||
"Link=4-5 " \
|
||||
"LinkAuth=3 " \
|
||||
"Microdesc=2 " \
|
||||
"Relay=2"
|
||||
|
||||
/** The required relay protocols for this authority's votes.
|
||||
* WARNING: Requiring a new protocol causes old tor versions to shut down.
|
||||
* Requiring the wrong protocols can break the tor network.
|
||||
* See Proposal 303: When and how to remove support for protocol versions.
|
||||
*/
|
||||
#define DIRVOTE_REQUIRE_CLIENT_PROTO \
|
||||
"Cons=2 " \
|
||||
"Desc=2 " \
|
||||
"Link=4 " \
|
||||
"Microdesc=2 " \
|
||||
"Relay=2"
|
||||
|
||||
#endif /* defined(DIRVOTE_PRIVATE) */
|
||||
|
||||
#endif /* !defined(TOR_DIRVOTE_H) */
|
||||
|
||||
Reference in New Issue
Block a user