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///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/// Identity verification methods on proofs
11pub mod identity;
12/// Single Document verification methods on proofs
13pub mod single_document;
14
15/// System components (Epoch info etc...) verification methods on proofs
16pub mod system;
17
18/// Address funds proof verification module
19pub mod address_funds;
20/// Group proof verification module
21pub mod group;
22/// Shielded pool proof verification module
23pub mod shielded;
24/// Verifies that a state transition contents exist in the proof
25pub mod state_transition;
26/// Token proof verification module
27pub mod tokens;
28/// Voting proof verification module
29pub mod voting;
30
31/// Represents the root hash of the grovedb tree
32pub type RootHash = [u8; 32];