aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-11-30 11:06:36 +1100
committerteor <teor2345@gmail.com>2016-11-30 11:06:36 +1100
commite5c608e535ef9a4c4fe951a277e3891c77de4908 (patch)
treeb3c9f04fdd2d60f2d6b5172a68f12479c2203add /src/or/networkstatus.h
parent4614f8e6816d559f8fbe9ae0f42d751d3fb95c77 (diff)
downloadtor-e5c608e535ef9a4c4fe951a277e3891c77de4908.tar.gz
tor-e5c608e535ef9a4c4fe951a277e3891c77de4908.zip
Stop discarding consensus flavors and descriptors we wanted to fetch
Instead, fetch and store consensus flavors and descriptors we wanted to fetch. And serve them if we are a directory cache (or authority).
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h
index 71f36b69ed..e23eeef70f 100644
--- a/src/or/networkstatus.h
+++ b/src/or/networkstatus.h
@@ -66,6 +66,7 @@ const routerstatus_t *router_get_consensus_status_by_nickname(
int warn_if_unnamed);
const char *networkstatus_get_router_digest_by_nickname(const char *nickname);
int networkstatus_nickname_is_unnamed(const char *nickname);
+int we_want_to_fetch_flavor(const or_options_t *options, int flavor);
void networkstatus_consensus_download_failed(int status_code,
const char *flavname);
void update_consensus_networkstatus_fetch_time(time_t now);