Skip to main content

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/// Chained document query (provable semi-join) verification methods on
4/// proofs — two grovedb proofs verified as one composed statement.
5pub mod chained_document;
6/// Composite document query (page plus derived sub-queries)
7/// verification methods on proofs — one merged proof verified as one
8/// composed statement.
9pub mod composite_document;
10///DataContract verification methods on proofs
11pub mod contract;
12/// Document verification methods on proofs
13pub mod document;
14/// Document-count verification methods on proofs (the
15/// `GetDocumentsCount` endpoint's prove-path verifiers).
16pub mod document_count;
17/// Having-range verification methods on proofs (the
18/// `GROUP BY … HAVING <aggregate> <op> <value> LIMIT n` surface's
19/// prove-path verifier).
20pub mod document_having;
21/// Document-ranked verification methods on proofs (the
22/// `GROUP BY … ORDER BY <aggregate> LIMIT n` surface's prove-path
23/// verifier).
24pub mod document_ranked;
25/// Document-sum verification methods on proofs (the
26/// `GetDocumentsSum` endpoint's prove-path verifiers).
27pub mod document_sum;
28/// Identity verification methods on proofs
29pub mod identity;
30/// Single Document verification methods on proofs
31pub mod single_document;
32
33/// System components (Epoch info etc...) verification methods on proofs
34pub mod system;
35
36/// Address funds proof verification module
37pub mod address_funds;
38/// Contract group proof verification
39pub mod contract_groups;
40/// Group proof verification module
41pub mod group;
42/// Shielded pool proof verification module
43pub mod shielded;
44/// Verifies that a state transition contents exist in the proof
45pub mod state_transition;
46/// Token proof verification module
47pub mod tokens;
48/// Voting proof verification module
49pub mod voting;
50
51mod bounded_decode;
52
53/// Represents the root hash of the grovedb tree
54pub type RootHash = [u8; 32];