Skip to main content

Module reference

Module reference 

Source
Expand description

TEST/REFERENCE ONLY implementations of the Protocol v2 store contracts (Go package v2reference). They are in-process and are not independent, rollback-resistant, or durable; production deployments supply their own.

Re-exports§

pub use approval_ledger::ApprovalErrorTestOnly;
pub use approval_ledger::ApprovalLedgerTestOnly;
pub use approval_ledger::ApprovalSetTestOnly;
pub use challenges::PersistFault;
pub use challenges::TestOnlyChallengeIssuanceStore;
pub use device_state::DeviceIssuanceTestOnly;
pub use device_state::DeviceJournalTestOnly;
pub use device_state::DevicePrimaryTestOnly;
pub use device_state::DeviceStateProjectionTestOnly;
pub use journal::JournalStore;
pub use offline_device::verify_device_acknowledgement_test_only;
pub use offline_device::DeviceAcknowledgementTestOnly;
pub use offline_device::DeviceCheckpointTestOnly;
pub use offline_device::DeviceComponentTestOnly;
pub use offline_device::DeviceErrorTestOnly;
pub use offline_device::DevicePowerLoss;
pub use offline_device::DeviceStartupStatus;
pub use offline_device::DeviceUplinkTestOnly;
pub use store::RateAtFinalizationStore;
pub use store::Store;
pub use trust_registry::TrustRegistry;

Modules§

approval_ledger
Dual-root composition profile (SPEC-v2 §7.14), TEST ONLY. Mirrors Go v2reference/approval_ledger.go.
challenges
The in-memory REFERENCE challenge issuance store. Mirrors Go v2reference/challenges.go.
device_state
Complete security state of a single-device offline primary (SPEC-v2 §7.13), TEST ONLY. Mirrors Go v2reference/device_state.go.
journal
The reference anchored SecurityJournalV2 store. Mirrors Go v2reference/journal.go.
offline_device
Single-device offline profile (SPEC-v2 §7.13), TEST ONLY. Mirrors Go v2reference/offline_device.go.
store
The in-memory REFERENCE implementation of the Protocol v2 Part B deployment interfaces: claim store with stream sequence and evaluation progress, authoritative clock, receipt outbox and publisher, independent checkpoint, and optional rate admission at finalization. Mirrors Go v2reference/store.go.
trust_registry
The reference candidate-record trust resolver of SPEC-v2 §6.1. Mirrors Go v2reference/trust_registry.go.