summaryrefslogtreecommitdiff
path: root/src/or/dirserv.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-03 10:17:37 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-04 08:37:41 -0400
commit112286338b61ed747572cfa67ac38e2052e7c807 (patch)
tree55fa2684d9ab3201011cb65da950687cf1db9974 /src/or/dirserv.h
parent0418357ffd575ff4a3ec95937f596776c3b9ecec (diff)
downloadtor-112286338b61ed747572cfa67ac38e2052e7c807.tar.gz
tor-112286338b61ed747572cfa67ac38e2052e7c807.zip
Store the sha3 of a networkstatus as part of the networkstatus_t
Also store it in the cached_dir_t.
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r--src/or/dirserv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index 4b09f87909..480174d5bb 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -118,6 +118,7 @@ cached_dir_t *dirserv_get_consensus(const char *flavor_name);
void dirserv_set_cached_consensus_networkstatus(const char *consensus,
const char *flavor_name,
const common_digests_t *digests,
+ const uint8_t *sha3_as_signed,
time_t published);
void dirserv_clear_old_networkstatuses(time_t cutoff);
int dirserv_get_routerdesc_spool(smartlist_t *spools_out, const char *key,