Modules§
- block_
verify - block_
verify_ effectful - Block Verification Service Layer
- snark_
effects 🔒 - user_
command_ verify - user_
command_ verify_ effectful - work_
verify - work_
verify_ effectful
Structs§
- Block
Verifier - Verifier index for block proofs (consensus layer / block selection). Lazily initialized and cached globally.
- Snark
Config - Snark
State - Transaction
Verifier - Verifier index for transaction proofs (execution layer / transaction confirmation). Lazily initialized and cached globally.
Enums§
Traits§
Functions§
- calc_
merkle_ root_ hash - Computes the root hash of the merkle tree with an account and its merkle path
- get_srs
- Returns the Structured Reference String (SRS) for SNARK verification.
Delegates to
ledger::verifier::get_srswith Fp field type. - snark_
effects - srs_
from_ bytes - srs_
to_ bytes - verifier_
index_ from_ bytes - verifier_
index_ to_ bytes