diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-10 18:13:28 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-06 11:28:49 -0500 |
commit | 90f6071d8dc0c23c0a2e7713ae1bba5ef44d09c2 (patch) | |
tree | d7e7f39a1392285f6b233267f2f2cadd177ab95f /src/or/routerlist.h | |
parent | 46a62e3256e078866c68e119d1da2afdb10a8306 (diff) | |
download | tor-90f6071d8dc0c23c0a2e7713ae1bba5ef44d09c2.tar.gz tor-90f6071d8dc0c23c0a2e7713ae1bba5ef44d09c2.zip |
New FallbackDir option to add extra directories for bootstraping
This replaces the old FallbackConsensus notion, and should provide a
way -- assuming we pick reasonable nodes! -- to give clients
suggestions of placs to go to get their first consensus.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index 1d527d0220..81ba1ac54f 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -136,10 +136,10 @@ int router_exit_policy_rejects_all(const routerinfo_t *router); dir_server_t *trusted_dir_server_new(const char *nickname, const char *address, uint16_t dir_port, uint16_t or_port, const char *digest, const char *v3_auth_digest, - dirinfo_type_t type); + dirinfo_type_t type, double weight); dir_server_t *fallback_dir_server_new(const tor_addr_t *addr, uint16_t dir_port, uint16_t or_port, - const char *id_digest); + const char *id_digest, double weight); void dir_server_add(dir_server_t *ent); void authority_cert_free(authority_cert_t *cert); |