diff options
author | David Goulet <dgoulet@torproject.org> | 2016-08-25 11:52:29 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-11-04 10:32:50 -0400 |
commit | 1517a8a2ebeb645669531b53bad52879d6da39d2 (patch) | |
tree | 4d77ab174e780286b5ea2e908ac158b812fee5bf /src/or/hs_common.h | |
parent | d795ed5871010b8ad6d216f5f4381e4191cb147c (diff) | |
download | tor-1517a8a2ebeb645669531b53bad52879d6da39d2.tar.gz tor-1517a8a2ebeb645669531b53bad52879d6da39d2.zip |
Add EnableOnionServicesV3 consensus parameter
This parameter controls if onion services version 3 (first version of prop224)
is enabled or not. If disabled, the tor daemon will not support the protocol
for all components such as relay, directory, service and client. If the
parameter is not found, it's enabled by default.
Closes #19899
Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r-- | src/or/hs_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h index 1d3a15df5a..2502f35ad4 100644 --- a/src/or/hs_common.h +++ b/src/or/hs_common.h @@ -33,5 +33,7 @@ const char *rend_data_get_desc_id(const rend_data_t *rend_data, const uint8_t *rend_data_get_pk_digest(const rend_data_t *rend_data, size_t *len_out); +int hs_v3_protocol_is_enabled(void); + #endif /* TOR_HS_COMMON_H */ |