mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-04-12 14:13:07 +00:00
32 lines
887 B
Rust
32 lines
887 B
Rust
#![expect(
|
|
clippy::multiple_inherent_impl,
|
|
reason = "We prefer to group methods by functionality rather than by type for encoding"
|
|
)]
|
|
|
|
pub use circuit_io::{PrivacyPreservingCircuitInput, PrivacyPreservingCircuitOutput};
|
|
pub use commitment::{
|
|
Commitment, CommitmentSetDigest, DUMMY_COMMITMENT, DUMMY_COMMITMENT_HASH, MembershipProof,
|
|
compute_digest_for_path,
|
|
};
|
|
pub use encryption::{
|
|
EncryptionScheme, SharedSecretKey, shared_key_derivation::EphemeralPublicKey,
|
|
};
|
|
pub use nullifier::{Nullifier, NullifierPublicKey, NullifierSecretKey};
|
|
pub use signature::{PrivateKey, PublicKey, Signature};
|
|
|
|
pub mod account;
|
|
mod circuit_io;
|
|
mod commitment;
|
|
mod encoding;
|
|
pub mod encryption;
|
|
mod nullifier;
|
|
pub mod program;
|
|
pub mod signature;
|
|
|
|
// TODO: temp#[cfg(feature = "host")]
|
|
pub mod error;
|
|
|
|
pub type BlockId = u64;
|
|
/// Unix timestamp in milliseconds.
|
|
pub type Timestamp = u64;
|