[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [metrics-db/master] Add ten new consensus parameters.



commit 197aa7d5b4c40438aed8c3d0c47537add37be60a
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Tue Jan 18 08:18:08 2011 +0100

    Add ten new consensus parameters.
    
    See Section 2.4.5 of path-spec.txt.
---
 .../ernie/db/ConsensusHealthChecker.java           |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/org/torproject/ernie/db/ConsensusHealthChecker.java b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
index 5e02118..dc82e5d 100644
--- a/src/org/torproject/ernie/db/ConsensusHealthChecker.java
+++ b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
@@ -288,8 +288,10 @@ public class ConsensusHealthChecker {
       /* Write consensus parameters. */
       boolean conflictOrInvalid = false;
       Set<String> validParameters = new HashSet<String>(Arrays.asList(
-          "circwindow,CircuitPriorityHalflifeMsec,refuseunknownexits".
-          split(",")));
+          ("circwindow,CircuitPriorityHalflifeMsec,refuseunknownexits,"
+          + "cbtdisabled,cbtnummodes,cbtrecentcount,cbtmaxtimeouts,"
+          + "cbtmincircs,cbtquantile,cbtclosequantile,cbttestfreq,"
+          + "cbtmintimeout,cbtinitialtimeout").split(",")));
       if (voteParams == null) {
         /* Authority doesn't set consensus parameters. */
       } else {