1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2021-2024 Espresso Systems (espressosys.com)
// This file is part of the HotShot repository.

// You should have received a copy of the MIT License
// along with the HotShot repository. If not, see <https://mit-license.org/>.

//! elections used for consensus

/// leader completely randomized every view
pub mod randomized_committee;

/// quorum randomized every view, with configurable overlap
pub mod randomized_committee_members;

/// static (round robin) committee election
pub mod static_committee;

/// static (round robin leader for 2 consecutive views) committee election
pub mod static_committee_leader_two_views;
/// two static (round robin) committees for even and odd epochs
pub mod two_static_committees;

/// general helpers
pub mod helpers;