diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-20 14:18:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 18:04:44 -0400 |
commit | e34d0d3365f5263d2888d63a4d58dc479f191565 (patch) | |
tree | 578ef926e5cf0aacb8b9dac2645c3858e52ae9b1 /src/or/networkstatus.h | |
parent | 9f5b752e4f8d9252f0e3243f5101a98d3bc8de83 (diff) | |
download | tor-e34d0d3365f5263d2888d63a4d58dc479f191565.tar.gz tor-e34d0d3365f5263d2888d63a4d58dc479f191565.zip |
When updating routerdesc downloads, look specifically at the ns consensus
This will be needed when "get_live_consensus" potentially returns a
microdesc consensus.
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index ad91e9d3e4..566171c799 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -65,7 +65,8 @@ networkstatus_t *networkstatus_get_latest_consensus(void); networkstatus_t *networkstatus_get_latest_consensus_by_flavor( consensus_flavor_t f); networkstatus_t *networkstatus_get_live_consensus(time_t now); -networkstatus_t *networkstatus_get_reasonably_live_consensus(time_t now); +networkstatus_t *networkstatus_get_reasonably_live_consensus(time_t now, + int flavor); #define NSSET_FROM_CACHE 1 #define NSSET_WAS_WAITING_FOR_CERTS 2 #define NSSET_DONT_DOWNLOAD_CERTS 4 |