Skip to main content

ratify_protocol/v2/reference/
mod.rs

1//! TEST/REFERENCE ONLY implementations of the Protocol v2 store contracts
2//! (Go package `v2reference`). They are in-process and are not independent,
3//! rollback-resistant, or durable; production deployments supply their own.
4
5pub mod approval_ledger;
6pub mod challenges;
7pub mod device_state;
8pub mod journal;
9pub mod offline_device;
10pub mod store;
11pub mod trust_registry;
12
13pub use approval_ledger::{ApprovalErrorTestOnly, ApprovalLedgerTestOnly, ApprovalSetTestOnly};
14pub use challenges::{PersistFault, TestOnlyChallengeIssuanceStore};
15pub use device_state::{
16    DeviceIssuanceTestOnly, DeviceJournalTestOnly, DevicePrimaryTestOnly, DeviceStateProjectionTestOnly,
17};
18pub use journal::JournalStore;
19pub use offline_device::{
20    verify_device_acknowledgement_test_only, DeviceAcknowledgementTestOnly, DeviceCheckpointTestOnly,
21    DeviceComponentTestOnly, DeviceErrorTestOnly, DevicePowerLoss, DeviceStartupStatus, DeviceUplinkTestOnly,
22};
23pub use store::{RateAtFinalizationStore, Store};
24pub use trust_registry::TrustRegistry;