aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-13 13:09:27 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-13 13:09:27 -0500
commit55d02c004c9b36258ef64ccb2def4ddcb0fb04c5 (patch)
treebea95d5ea3fef665ba39bb80826d2e8e77ab8cd7 /src/or/routerlist.h
parent56b11905e509297e3db55f62afd14afb6e6ae2eb (diff)
downloadtor-55d02c004c9b36258ef64ccb2def4ddcb0fb04c5.tar.gz
tor-55d02c004c9b36258ef64ccb2def4ddcb0fb04c5.zip
Remove AuthDirMaxServersPerAuthAddr
Back when Roger had do do most of our testing on the moria host, we needed a higher limit for the number of relays running on a single IP address when that limit was shared with an authority. Nowadays, the idea is pretty obsolete. Also remove the router_addr_is_trusted_dir() function, which served no other purpose. Closes ticket 20960.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 606e9085ce..8b68d69f28 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -86,7 +86,6 @@ int router_digest_is_trusted_dir_type(const char *digest,
#define router_digest_is_trusted_dir(d) \
router_digest_is_trusted_dir_type((d), NO_DIRINFO)
-int router_addr_is_trusted_dir(uint32_t addr);
int hexdigest_to_digest(const char *hexdigest, char *digest);
const routerinfo_t *router_get_by_id_digest(const char *digest);
routerinfo_t *router_get_mutable_by_digest(const char *digest);