Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Move transact::protocol::* to protocol::* #174

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions libsawtooth/src/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,24 @@

//! Structs that cover the core protocols of the Sawtooth system.

#[cfg(feature = "transact-protocol-batch")]
pub mod batch;
#[cfg(feature = "protocol-block")]
pub mod block;
pub mod block_info;
pub mod command;
#[cfg(feature = "protocol-genesis")]
pub mod genesis;
pub mod identity;
#[cfg(feature = "transact-key-value-state")]
pub mod key_value_state;
#[cfg(feature = "transact")]
pub mod receipt;
#[cfg(any(feature = "transact-protocol-sabre", feature = "family-sabre"))]
pub mod sabre;
pub mod setting;
#[cfg(feature = "transact-protocol-transaction")]
pub mod transaction;

#[cfg(feature = "cylinder")]
use cylinder::SigningError;
Expand Down
12 changes: 6 additions & 6 deletions libsawtooth/src/transact/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
//! scheduled and executed. The resuls of execution are stored in transaction receipts.

#[cfg(feature = "transact-protocol-batch")]
pub mod batch;
pub mod command;
pub use crate::protocol::batch;
pub use crate::protocol::command;
#[cfg(feature = "transact-key-value-state")]
pub mod key_value_state;
pub mod receipt;
pub use crate::protocol::key_value_state;
pub use crate::protocol::receipt;
#[cfg(any(feature = "transact-protocol-sabre", feature = "family-sabre"))]
pub mod sabre;
pub use crate::protocol::sabre;
#[cfg(feature = "transact-protocol-transaction")]
pub mod transaction;
pub use crate::protocol::transaction;
Loading