Expand description
General Zcash primitives.
zcash_primitives
is a library that provides the core structs and functions necessary
for working with Zcash.
§Feature flags
circuits
(enabled by default) — Enables creating proofsmulticore
(enabled by default) — Enables multithreading support for creating proofs.transparent-inputs
— Enables spending transparent notes with the transaction builder.test-dependencies
— Exposes APIs that are useful for testing, such asproptest
strategies.expensive-tests
— A feature used to isolate tests that are expensive to run. Test-only.non-standard-fees
— A feature that providesFeeRule
implementations and constructors for non-standard fees.
Modules§
- block
- Structs and methods for handling Zcash block headers.
- consensus
Deprecated - constants
Deprecated - legacy
Deprecated - memo
Deprecated - merkle_
tree - Parsers and serializers for Zcash Merkle trees.
- transaction
- Structs and methods for handling Zcash transactions.
- zip32
Deprecated