mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
Authorities now support conditional consensuses
Mark them this way in add_trusted_dir_server
This commit is contained in:
parent
51c00dbdec
commit
9a07f30b90
1 changed files with 1 additions and 5 deletions
|
@ -3680,12 +3680,8 @@ add_trusted_dir_server(const char *nickname, const char *address,
|
||||||
|
|
||||||
if (ent->or_port)
|
if (ent->or_port)
|
||||||
ent->fake_status.version_supports_begindir = 1;
|
ent->fake_status.version_supports_begindir = 1;
|
||||||
/* XX021 - wait until authorities are upgraded */
|
|
||||||
#if 0
|
|
||||||
ent->fake_status.version_supports_conditional_consensus = 1;
|
ent->fake_status.version_supports_conditional_consensus = 1;
|
||||||
#else
|
|
||||||
ent->fake_status.version_supports_conditional_consensus = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
smartlist_add(trusted_dir_servers, ent);
|
smartlist_add(trusted_dir_servers, ent);
|
||||||
router_dir_info_changed();
|
router_dir_info_changed();
|
||||||
|
|
Loading…
Add table
Reference in a new issue