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 auction_results_provider;
9pub mod block_contents;
10pub mod consensus_api;
11pub mod election;
12pub mod metrics;
13pub mod network;
14pub mod node_implementation;
15pub mod qc;
16pub mod signature_key;
17pub mod states;
18pub mod storage;
19
20pub use block_contents::{BlockPayload, EncodeBytes};
21pub use states::ValidatedState;