hotshot/traits/election/
mod.rs

1// Copyright (c) 2021-2024 Espresso Systems (espressosys.com)
2// This file is part of the HotShot repository.
3
4// You should have received a copy of the MIT License
5// along with the HotShot repository. If not, see <https://mit-license.org/>.
6
7//! elections used for consensus
8
9/// Dummy Membership which enforces that we must be caught up to use
10pub mod dummy_catchup_membership;
11/// leader completely randomized every view
12pub mod randomized_committee;
13
14/// quorum randomized every view, with configurable overlap
15pub mod randomized_committee_members;
16
17/// static (round robin) committee election
18pub mod static_committee;
19
20/// static (round robin leader for 2 consecutive views) committee election
21pub mod static_committee_leader_two_views;
22/// two static (round robin) committees for even and odd epochs
23pub mod two_static_committees;
24
25/// general helpers
26pub mod helpers;