Skip to main content

ratify_protocol/v2/
mod.rs

1//! Ratify Protocol v2 (SPEC-v2): strict wire codecs and canonical encodings
2//! for all nine signed object codes, typed hybrid signing, the status reducer
3//! and security journal, rotation journal, witness and receipt logs,
4//! transaction and verification receipts, the ordered live verifier, and the
5//! committed-outcome release path.
6//!
7//! This module is independent of the v1 API and requires the `std` feature.
8
9pub mod constraints;
10pub mod context;
11pub mod crypto;
12pub mod evaluator;
13pub mod errors;
14pub(crate) mod json;
15pub mod limits;
16pub mod operation_context;
17pub(crate) mod tzdb;
18pub mod signer;
19pub mod wire;
20
21// Key generation lives in the shared crypto module because v1 and v2 use the
22// same hybrid key types. It is re-exported here so a v2 caller can import
23// everything it needs from `ratify_protocol::v2`.
24pub use crate::crypto::{generate_hybrid_keypair, hybrid_keypair_from_seeds};
25
26pub use constraints::*;
27pub use context::*;
28pub use crypto::*;
29pub use evaluator::*;
30pub use errors::*;
31pub use json::canonical_json_v2;
32pub use limits::*;
33pub use operation_context::*;
34pub use signer::*;
35pub use wire::*;
36
37pub mod receipt;
38pub mod rotation;
39pub mod transaction;
40pub mod witness;
41
42pub use receipt::*;
43pub use rotation::*;
44pub use transaction::*;
45pub use witness::*;
46pub mod status;
47pub use status::*;
48pub mod cross_sdk;
49pub use cross_sdk::*;
50pub mod checkpoint_ack;
51pub mod journal;
52pub mod journal_snapshot;
53pub mod reference;
54pub mod status_batch;
55pub mod status_provenance;
56pub mod status_publisher;
57pub use checkpoint_ack::*;
58pub use journal::*;
59pub use journal_snapshot::*;
60pub use status_batch::*;
61pub use status_provenance::*;
62pub use status_publisher::*;
63pub mod archival;
64pub mod audience;
65pub mod authorization;
66pub mod challenge_issuance;
67pub mod claim_store;
68pub mod context_policy;
69pub mod evaluation_progress;
70pub mod preflight;
71pub mod rate_reservation;
72pub mod release;
73pub mod stream_sequence;
74pub mod transaction_verify;
75pub mod verify;
76pub use archival::*;
77pub use audience::*;
78pub use authorization::*;
79pub use challenge_issuance::*;
80pub use claim_store::*;
81pub use context_policy::*;
82pub use evaluation_progress::*;
83pub use preflight::*;
84pub use rate_reservation::*;
85pub use release::*;
86pub use stream_sequence::*;
87pub use transaction_verify::*;
88pub use verify::*;