summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-08 16:58:59 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-08 16:58:59 +0000
commite0b9c893bc4e60cb3e6d8aa65d49a2a4ba2b6260 (patch)
tree5394c35c788ee05f37bfb75fc5feca7c12dbd11a /src/or/or.h
parent46273c908020144d683365b956bfa9950b815296 (diff)
downloadtor-e0b9c893bc4e60cb3e6d8aa65d49a2a4ba2b6260.tar.gz
tor-e0b9c893bc4e60cb3e6d8aa65d49a2a4ba2b6260.zip
r16573@catbus: nickm | 2007-11-08 11:57:16 -0500
Mess with the formula for the Guard flag again. Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th. See spec for details. Also, log thresholds better. svn:r12440
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 93eb639d67..7479ec9dc2 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3441,6 +3441,7 @@ int rep_hist_load_mtbf_data(time_t now);
time_t rep_hist_downrate_old_runs(time_t now);
double rep_hist_get_stability(const char *id, time_t when);
double rep_hist_get_weighted_fractional_uptime(const char *id, time_t when);
+long rep_hist_get_weighted_time_known(const char *id, time_t when);
int rep_hist_have_measured_enough_stability(void);
void rep_hist_note_used_port(uint16_t port, time_t now);