From 835d72d850a0d1cfed378e4e37db55ac20a831ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Micha=C5=82ek?= <52135326+cptartur@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:50:45 +0200 Subject: [PATCH] Change quorum size to 3 (#8) --- neurons/src/quorum.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurons/src/quorum.rs b/neurons/src/quorum.rs index 0b87a46..705761f 100644 --- a/neurons/src/quorum.rs +++ b/neurons/src/quorum.rs @@ -2,7 +2,7 @@ use crate::Vote; use anyhow::{anyhow, bail, Result}; use std::collections::HashMap; -const QUORUM_SIZE: u32 = 5; +const QUORUM_SIZE: u32 = 3; const QUORUM_ABSOLUTE_PARTICIPATION_THRESHOLD: f64 = 1.0 / 2.0; const QUORUM_RELATIVE_PARTICIPATION_THRESHOLD: f64 = 2.0 / 3.0;