dusk_consensus/
lib.rs

1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4//
5// Copyright (c) DUSK NETWORK. All rights reserved.
6
7#![deny(unused_crate_dependencies)]
8#![deny(unused_extern_crates)]
9
10pub mod commons;
11pub mod consensus;
12pub mod errors;
13pub mod user;
14
15mod aggregator;
16pub mod config;
17mod execution_ctx;
18mod msg_handler;
19pub mod operations;
20mod phase;
21mod proposal;
22pub mod queue;
23pub mod quorum;
24mod ratification;
25mod step_votes_reg;
26mod validation;
27
28pub use ratification::step::build_ratification_payload;
29pub use validation::step::build_validation_payload;
30pub use validation::step::validate_blob_sidecars;
31
32mod iteration_ctx;
33pub mod merkle;
34
35#[cfg(test)]
36mod tests {
37    // Adding benchmark dependencies here to satisfy `unused_crate_dependencies`
38    // lint
39    use criterion as _;
40    use rand as _;
41}