penumbra_sdk_sct/component/mod.rs
1//! The Sct component contains the interface to the chain's state commitment tree
2//! and nullifier set. It also serves as tracking the various chain clocks, whether
3//! logical, like an epoch index, or a block height, or physical, like block timestamps.
4
5/// Blockchain clocks: epoch indices, block heights and timestamps.
6pub mod clock;
7/// Implementation of the SCT component query server.
8pub mod rpc;
9/// The SCT component implementation.
10pub mod sct;
11/// Tracking commitment sources within a block execution.
12pub mod source;
13/// Mediate access to the state commitment tree and related data.
14pub mod tree;
15
16// Access to configuration data for the component.
17pub use sct::{StateReadExt, StateWriteExt};
18
19// Note: for some reason, `rust-analyzer` chokes when this file is named
20// `component.rs`. If you read this and manage to fix it, please rename it.