Expand description
Async Halo2 batch verifier service
Structsยง
- Item
- A Halo2 verification item, used as the request type of the service.
- Orchard
Fallback - The single-item fallback service for one Orchard circuit era.
- VERIFYING_
KEY_ NU6_ 2 - The Orchard Action verifying key for the NU6.2-until-NU6.3 (fixed) circuit.
- VERIFYING_
KEY_ NU6_ 3_ ONWARD - The Orchard Action verifying key for the NU6.3-onward circuit.
- VERIFYING_
KEY_ PRE_ NU6_ 2 - The Orchard Action verifying key for the pre-NU6.2 (insecure) circuit.
- Verifier
- Halo2 proof verifier implementation
Enumsยง
- Halo2
Error - An error that may occur when verifying Halo2 proofs of Zcash Orchard Action descriptions.
Constantsยง
- HALO2_
MAX_ ๐BATCH_ SIZE - Adjusted batch size for halo2 batches.
Staticsยง
- VERIFIER_
NU6_ 2 - Global batch verification context for NU6.2-until-NU6.3 Halo2 Action proofs.
- VERIFIER_
NU6_ 3_ ONWARD - Global batch verification context for NU6.3-onward Halo2 Action proofs.
- VERIFIER_
PRE_ NU6_ 2 - Global batch verification context for pre-NU6.2 Halo2 Action proofs.
Traitsยง
- Queue
Batch ๐Verify
Functionsยง
- batch_
verifier ๐ - Builds a global Halo2 verifier that validates every item against
vk. - orchard_
v5_ verifier_ for - Returns the global Halo2 verifier for the Orchard-pool bundle of a v5 transaction in a
block at
network_upgrade. - orchard_
v6_ verifier - Returns the global Halo2 verifier for v6 Orchard-pool and Ironwood-pool bundles.
Type Aliasesยง
- Item
Verifying Key - The type of a prepared verifying key. This is the key used to verify individual items.
- Sender ๐
- The type of the batch sender channel.
- Verifier
Service - The concrete type of a global Halo2 verification service.
- Verify
Result ๐ - The type of verification results.