hotshot_types/
traits.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//! Common traits for the `HotShot` protocol
8pub mod block_contents;
9pub mod consensus_api;
10pub mod election;
11pub mod metrics;
12pub mod network;
13pub mod node_implementation;
14pub mod qc;
15pub mod signature_key;
16pub mod states;
17pub mod storage;
18
19pub use block_contents::{BlockPayload, EncodeBytes};
20pub use states::ValidatedState;