1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
use super::*;

pub use bit_set::BitSet;
pub use std::collections::BTreeMap;
pub use std::collections::BTreeSet;
pub use std::collections::HashMap;
pub use std::collections::HashSet;
pub use std::collections::VecDeque;

use serde::Serialize;

pub type NodeId = usize; // internal and possibly different between runs
pub type PublicKey = String;

pub type NodeIdSet = BitSet;
pub type NodeIdDeque = VecDeque<NodeId>;

mod fbas;
mod groupings;
mod quorum_set;
mod set_helpers;
mod shrinking;

pub use fbas::*;
pub use groupings::*;
pub use quorum_set::*;
pub use set_helpers::*;
pub use shrinking::*;