1#![cfg_attr(not(feature = "std"), no_std)]
24#![warn(missing_docs)]
25#![warn(rustdoc::broken_intra_doc_links)]
26
27extern crate alloc;
28
29pub mod commitment;
31pub mod hash;
32pub mod right;
33pub mod seal;
34pub mod tagged_hash;
35
36pub mod hardening;
38
39pub mod consignment;
41pub mod genesis;
42pub mod schema;
43pub mod state;
44pub mod transition;
45
46pub mod mpc;
48
49pub mod vm;
51
52pub mod dag;
54pub mod proof;
55pub mod proof_verify;
56pub mod signature;
57
58pub mod error;
60pub mod traits;
61
62pub mod monitor;
64pub mod store;
65
66pub mod client;
68pub mod commitment_chain;
69pub mod seal_registry;
70pub mod state_store;
71pub mod validator;
72
73pub mod cross_chain;
75
76pub mod rgb_compat;
78
79#[cfg(feature = "tapret")]
81pub mod tapret_verify;
82
83pub use commitment::Commitment;
85pub use hardening::{
86 BoundedQueue, CircuitBreaker, CircuitState, MemoryLimits, TimeoutConfig,
87 DEFAULT_CIRCUIT_MAX_FAILURES, DEFAULT_CIRCUIT_RESET_TIMEOUT, DEFAULT_HEALTH_CHECK_TIMEOUT,
88 DEFAULT_RPC_TIMEOUT, MAX_CACHE_SIZE, MAX_REGISTRY_SIZE, MAX_SEAL_REGISTRY_SIZE,
89};
90pub use hash::Hash;
91pub use right::{OwnershipProof, Right, RightError, RightId};
92pub use seal::{AnchorRef, SealRef};
93
94pub use consignment::CONSIGNMENT_VERSION;
96pub use consignment::{Anchor as ConsignmentAnchor, Consignment, ConsignmentError, SealAssignment};
97pub use genesis::Genesis;
98pub use schema::SCHEMA_VERSION;
99pub use schema::{
100 GlobalStateType, OwnedStateType, Schema, SchemaError, StateDataType, TransitionDef,
101 TransitionValidationError,
102};
103pub use state::{GlobalState, Metadata, OwnedState, StateAssignment, StateRef, StateTypeId};
104pub use transition::Transition;
105
106pub use mpc::{MerkleBranchNode, MpcLeaf, MpcProof, MpcTree, ProtocolId};
108
109pub use vm::{execute_transition, DeterministicVM, PassthroughVM, VMError, VMInputs, VMOutputs};
111
112pub use dag::{DAGNode, DAGSegment};
114pub use proof::{FinalityProof, InclusionProof, ProofBundle};
115pub use proof_verify::verify_proof;
116pub use signature::{parse_signatures_from_bytes, verify_signatures, Signature, SignatureScheme};
117
118pub use error::{AdapterError, Result};
120pub use traits::AnchorLayer;
121
122pub use monitor::{PendingPublication, PublicationTracker, ReorgEvent, ReorgMonitor};
124pub use store::{AnchorRecord, InMemorySealStore, SealRecord, SealStore, StoreError};