diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-19 12:23:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:33 -0400 |
commit | 0bcc9ad58d18bdd9fb73db33b9a7fe4cfd2ac93b (patch) | |
tree | f398567607ae048f0b05df18bf20fa1361718073 /src/or/hs_common.h | |
parent | 06909cafef6aee9141541fc85cbea5de0b2e5f6a (diff) | |
download | tor-0bcc9ad58d18bdd9fb73db33b9a7fe4cfd2ac93b.tar.gz tor-0bcc9ad58d18bdd9fb73db33b9a7fe4cfd2ac93b.zip |
prop224: Add a responsible HSDir function
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r-- | src/or/hs_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h index d367e815e8..695f0b8954 100644 --- a/src/or/hs_common.h +++ b/src/or/hs_common.h @@ -214,6 +214,10 @@ int32_t hs_get_hsdir_n_replicas(void); int32_t hs_get_hsdir_spread_fetch(void); int32_t hs_get_hsdir_spread_store(void); +void hs_get_responsible_hsdirs(const ed25519_public_key_t *blinded_pk, + uint64_t time_period_num, int is_next_period, + int is_client, smartlist_t *responsible_dirs); + #ifdef HS_COMMON_PRIVATE #ifdef TOR_UNIT_TESTS |