diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-18 15:06:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:33 -0400 |
commit | 267bc7bc3b574f3e60d7836fde5a24652e3ac9c2 (patch) | |
tree | de4b64fa9ea873e5694a67bc6c4b74b816a9ffe4 /INSTALL | |
parent | 77b279c35c5ecf83c045f9c1d613544d958aef81 (diff) | |
download | tor-267bc7bc3b574f3e60d7836fde5a24652e3ac9c2.tar.gz tor-267bc7bc3b574f3e60d7836fde5a24652e3ac9c2.zip |
prop224: Build hsdir index for node_t
This hsdir index value is used to give an index value to all node_t (relays)
that supports HSDir v3. An index value is then computed using the blinded key
to know where to fetch/upload the service descriptor from/to.
To avoid computing that index value everytime the client/service needs it, we
do that everytime we get a new consensus which then doesn't change until the
next one. The downside is that we need to sort them once we need to compute
the set of responsible HSDir.
Finally, the "hs_index" function is also added but not used. It will be used
in later commits to compute which node_t is a responsible HSDir for the
service we want to fetch/upload the descriptor.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions