[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [metrics-db/master] Add new consensus parameter refuseunknownexits.
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Sat, 2 Oct 2010 19:38:17 +0200
Subject: Add new consensus parameter refuseunknownexits.
Commit: e6191d2b809431723197dad9a84e0b6aed9fe0d6
---
.../ernie/db/ConsensusHealthChecker.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/ernie/db/ConsensusHealthChecker.java b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
index 7b7a538..35fe29f 100644
--- a/src/org/torproject/ernie/db/ConsensusHealthChecker.java
+++ b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
@@ -270,7 +270,8 @@ public class ConsensusHealthChecker {
/* Write consensus parameters. */
boolean conflictOrInvalid = false;
Set<String> validParameters = new HashSet<String>(Arrays.asList(
- "circwindow,CircuitPriorityHalflifeMsec".split(",")));
+ "circwindow,CircuitPriorityHalflifeMsec,refuseunknownexits".
+ split(",")));
if (voteParams == null) {
/* Authority doesn't set consensus parameters. */
} else {
--
1.7.1