Skip to main content

Crate polyc_eventlog_model

Crate polyc_eventlog_model 

Source
Expand description

Storage-agnostic vocabulary and verification for Polychrome journals.

This crate deliberately contains no storage runtime, opener, mutable host, or filesystem handle. Policy and read-plane crates can therefore compile against Event, trust metadata, integrity verification, and navigation without acquiring the capability to open durable journal authority.

Re-exports§

pub use event::Event;
pub use event::EventCfg;
pub use integrity::IntegrityError;
pub use integrity::MMR_SIGNED_ROOT_KIND;
pub use integrity::extend_and_sign;
pub use integrity::rebuild_from_events;
pub use integrity::verify_replay;
pub use integrity::verify_replay_with_trust;
pub use taint::GrantedCapabilities;
pub use taint::TrifectaLegs;
pub use taint::TrustTag;
pub use taint::any_untrusted;
pub use taint::any_untrusted_excluding;
pub use taint::trifecta_legs;

Modules§

event
The Event item stored in a journal and its commonware_codec wiring.
integrity
Per-conversation tamper-evidence over the event log (#799).
nav
Storage-agnostic lexical navigation over a conversation’s own history.
taint
Storage-agnostic trust/provenance tags and the “lethal trifecta” detector.

Structs§

BoundedReplay
A replay that may stop before the partition tail at a caller byte budget.