From e84c3ba7144621b3ab26cee3b77da7c62e0f1c15 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 29 May 2012 12:35:10 -0700 Subject: [PATCH] Add some additional timing parameters. --- src/LedgerTiming.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/LedgerTiming.h b/src/LedgerTiming.h index 1e64ccc651..0740ce7128 100644 --- a/src/LedgerTiming.h +++ b/src/LedgerTiming.h @@ -30,8 +30,12 @@ #endif -#define MIN_CONSENSUS 50 -#define AVG_CONSENSUS 60 -#define MAX_CONSENSUS 70 +// Avalance tuning (percent of UNL voting yes for us to vote yes) +#define AV_MIN_CONSENSUS 50 +#define AV_AVG_CONSENSUS 60 +#define AV_MAX_CONSENSUS 70 + +// We consider consensus reached at this percent agreement +#define AV_PCT_STOP 90 #endif