summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-11 18:01:12 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-11 18:01:12 +0000
commitff2820c1ba717c11ca1a277387ec0c6ac13020ab (patch)
treedd0380e77d969d323d1e0fcefa3a780144ac0a24 /src/or/dirvote.c
parent007d76543d79102009a339a45460b9aedc0465f8 (diff)
downloadtor-ff2820c1ba717c11ca1a277387ec0c6ac13020ab.tar.gz
tor-ff2820c1ba717c11ca1a277387ec0c6ac13020ab.zip
r14892@Kushana: nickm | 2007-10-11 14:00:33 -0400
Fix a bunch of XXX020s: treat some 403s as INFO severity; remove some dead code; share the retry path for consensus routerdescs that are also listed in the v2 networkstatus; check even more aspects of votes when parsing them. svn:r11871
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 9e048d2aa6..9625dca058 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -325,14 +325,6 @@ networkstatus_compute_consensus(smartlist_t *votes,
vote_seconds = median_int(votesec_list, n_votes);
dist_seconds = median_int(distsec_list, n_votes);
- /*
- SMARTLIST_FOREACH(va_times, int*, i,
- printf("VA: %d\n", *i));
- SMARTLIST_FOREACH(fu_times, int*, i,
- printf("FU: %d\n", *i));
- printf("%d..%d\n", (int)valid_after, (int)valid_until);
- */
-
tor_assert(valid_after+MIN_VOTE_INTERVAL <= fresh_until);
tor_assert(fresh_until+MIN_VOTE_INTERVAL <= valid_until);
tor_assert(vote_seconds >= MIN_VOTE_SECONDS);