summaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-01-13 16:00:07 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-07-13 16:49:44 -0400
commitc086a59ea1fe63e38b6f83fa0c2c19bf495e977d (patch)
tree8b1dc6f9b3b4e3ea9658a93eb0406f513a0ebe01 /src/or/hs_common.h
parent93774dcb5458115652e0be5cdfaf198967b8a31e (diff)
downloadtor-c086a59ea1fe63e38b6f83fa0c2c19bf495e977d.tar.gz
tor-c086a59ea1fe63e38b6f83fa0c2c19bf495e977d.zip
prop224: Configure v3 service from options
This commit adds the support in the HS subsystem for loading a service from a set of or_options_t and put them in a staging list. To achieve this, service accessors have been created and a global hash map containing service object indexed by master public key. However, this is not used for now. It's ground work for registration process. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r--src/or/hs_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h
index 8016535ca9..d1bc5ac7ef 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -22,7 +22,7 @@
/** Try to maintain this many intro points per service by default. */
#define NUM_INTRO_POINTS_DEFAULT 3
-/** Maximum number of intro points per service. */
+/** Maximum number of intro points per generic and version 2 service. */
#define NUM_INTRO_POINTS_MAX 10
/** Number of extra intro points we launch if our set of intro nodes is empty.
* See proposal 155, section 4. */