drive/verify/mod.rs
1#![allow(clippy::result_large_err)] // Errors intentionally carry rich context in verify paths
2 // TODO: Revisit after shrinking top-level Error by boxing heavy variants
3///DataContract verification methods on proofs
4pub mod contract;
5/// Document verification methods on proofs
6pub mod document;
7/// Document-count verification methods on proofs (the
8/// `GetDocumentsCount` endpoint's prove-path verifiers).
9pub mod document_count;
10/// Document-sum verification methods on proofs (the
11/// `GetDocumentsSum` endpoint's prove-path verifiers).
12pub mod document_sum;
13/// Identity verification methods on proofs
14pub mod identity;
15/// Single Document verification methods on proofs
16pub mod single_document;
17
18/// System components (Epoch info etc...) verification methods on proofs
19pub mod system;
20
21/// Address funds proof verification module
22pub mod address_funds;
23/// Group proof verification module
24pub mod group;
25/// Shielded pool proof verification module
26pub mod shielded;
27/// Verifies that a state transition contents exist in the proof
28pub mod state_transition;
29/// Token proof verification module
30pub mod tokens;
31/// Voting proof verification module
32pub mod voting;
33
34/// Represents the root hash of the grovedb tree
35pub type RootHash = [u8; 32];