Skip to main content

Crate exo_core

Crate exo_core 

Source
Expand description

§exo-core

Foundational crate for the EXOCHAIN constitutional trust fabric.

Determinism contract: this crate enforces absolute determinism.

  • No floating-point arithmetic.
  • BTreeMap only — HashMap is never exposed.
  • Canonical CBOR serialization for all hashing.
  • Hybrid Logical Clock for causal ordering.

All other EXOCHAIN crates depend on exo-core.

Re-exports§

pub use error::ExoError;
pub use error::Result;
pub use types::CorrelationId;
pub use types::DeterministicMap;
pub use types::Did;
pub use types::Hash256;
pub use types::PqPublicKey;
pub use types::PqSecretKey;
pub use types::PublicKey;
pub use types::SIGNER_PREFIX_AI;
pub use types::SIGNER_PREFIX_HUMAN;
pub use types::SecretKey;
pub use types::Signature;
pub use types::SignerType;
pub use types::Timestamp;
pub use types::Version;

Modules§

bcts
Bailment-Conditioned Transaction Set (BCTS) state machine.
crypto
Cryptographic primitives for EXOCHAIN.
error
Error types for the EXOCHAIN constitutional trust fabric.
events
Event system for EXOCHAIN.
hash
Canonical hashing utilities.
hlc
Hybrid Logical Clock (HLC) for causal ordering.
invariants
Invariant checking primitives for EXOCHAIN.
types
Core deterministic types for the EXOCHAIN trust fabric.