diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-25 13:22:35 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-09 10:30:51 -0400 |
commit | 2b9823b3106df2cf23e2de13ae9a9b6d12607ce4 (patch) | |
tree | 44994ab64f0df56c6ce4b5a866a6c301a8bac117 /src/or/routerlist.h | |
parent | d4a2decc56cc5328c8edfde2cc512efd844cc32b (diff) | |
download | tor-2b9823b3106df2cf23e2de13ae9a9b6d12607ce4.tar.gz tor-2b9823b3106df2cf23e2de13ae9a9b6d12607ce4.zip |
config: Remove AllowInvalidNodes option
Deprecated in 0.2.9.2-alpha, this commits changes it as OBSOLETE() and cleans
up the code associated with it.
Partially fixes #22060
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index 5c1f76c8e7..25b2f64350 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -62,10 +62,10 @@ int router_skip_or_reachability(const or_options_t *options, int try_ip_pref); int router_get_my_share_of_directory_requests(double *v3_share_out); void router_reset_status_download_failures(void); int routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2); -void router_add_running_nodes_to_smartlist(smartlist_t *sl, int allow_invalid, - int need_uptime, int need_capacity, - int need_guard, int need_desc, - int pref_addr, int direct_conn); +void router_add_running_nodes_to_smartlist(smartlist_t *sl, int need_uptime, + int need_capacity, int need_guard, + int need_desc, int pref_addr, + int direct_conn); const routerinfo_t *routerlist_find_my_routerinfo(void); uint32_t router_get_advertised_bandwidth(const routerinfo_t *router); |