diff options
author | George Kadianakis <desnacked@riseup.net> | 2016-12-23 14:48:05 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-01-09 15:02:56 +0200 |
commit | e1d7661412325bb8c81a3a7f4d5cc25efdee5a78 (patch) | |
tree | 333dc5ef254638d6ba72a42cf18f9268fd5ad626 /src/or/hs_cache.h | |
parent | 7456677a50d1c4c9f0f2e6b63259905f694d329a (diff) | |
download | tor-e1d7661412325bb8c81a3a7f4d5cc25efdee5a78.tar.gz tor-e1d7661412325bb8c81a3a7f4d5cc25efdee5a78.zip |
Max HS descriptor size is now 50kb and also consensus param.
Diffstat (limited to 'src/or/hs_cache.h')
-rw-r--r-- | src/or/hs_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_cache.h b/src/or/hs_cache.h index 01abb8002f..ba95e73338 100644 --- a/src/or/hs_cache.h +++ b/src/or/hs_cache.h @@ -44,6 +44,8 @@ void hs_cache_free_all(void); void hs_cache_clean_as_dir(time_t now); size_t hs_cache_handle_oom(time_t now, size_t min_remove_bytes); +unsigned int hs_cache_get_max_descriptor_size(void); + /* Store and Lookup function. They are version agnostic that is depending on * the requested version of the descriptor, it will be re-routed to the * right function. */ |