diff options
author | David Goulet <dgoulet@ev0ke.net> | 2015-02-12 11:39:49 -0500 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2015-05-06 18:05:16 +1000 |
commit | b3832e0b7f95e8082acce1be6505179d38f30d14 (patch) | |
tree | 6fd2fb2313af6a3c0f463b8c1f3c2ba2747aa0f5 /src/or/rephist.c | |
parent | dcf0f808c0bd9b20a0a7d4f3e52155a83cdce2a4 (diff) | |
download | tor-b3832e0b7f95e8082acce1be6505179d38f30d14.tar.gz tor-b3832e0b7f95e8082acce1be6505179d38f30d14.zip |
Fix hs stats comments to be more accurate
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index fe0997c891..4f7aaae279 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -3026,21 +3026,21 @@ rep_hist_stored_maybe_new_hs(const crypto_pk_t *pubkey) /* The number of cells that are supposed to be hidden from the adversary * by adding noise from the Laplace distribution. This value, divided by - * EPSILON, is Laplace parameter b. */ + * EPSILON, is Laplace parameter b. It must be greather than 0. */ #define REND_CELLS_DELTA_F 2048 /* Security parameter for obfuscating number of cells with a value between - * 0 and 1. Smaller values obfuscate observations more, but at the same + * ]0.0, 1.0]. Smaller values obfuscate observations more, but at the same * time make statistics less usable. */ #define REND_CELLS_EPSILON 0.3 /* The number of cells that are supposed to be hidden from the adversary * by rounding up to the next multiple of this number. */ #define REND_CELLS_BIN_SIZE 1024 -/* The number of service identities that are supposed to be hidden from - * the adversary by adding noise from the Laplace distribution. This - * value, divided by EPSILON, is Laplace parameter b. */ +/* The number of service identities that are supposed to be hidden from the + * adversary by adding noise from the Laplace distribution. This value, + * divided by EPSILON, is Laplace parameter b. It must be greater than 0. */ #define ONIONS_SEEN_DELTA_F 8 /* Security parameter for obfuscating number of service identities with a - * value between 0 and 1. Smaller values obfuscate observations more, but + * value between ]0.0, 1.0]. Smaller values obfuscate observations more, but * at the same time make statistics less usable. */ #define ONIONS_SEEN_EPSILON 0.3 /* The number of service identities that are supposed to be hidden from |