Crate zcash_primitives
source ·Expand description
General Zcash primitives.
zcash_primitives
is a library that provides the core structs and functions necessary
for working with Zcash.
§Feature flags
multicore
(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.
§Experimental features
⚠️ Enabling these features will likely make your code incompatible with current Zcash consensus rules!
unstable-nu6
— Exposes the in-development NU6 features.zfuture
— Exposes early in-development features that are not yet planned for any network upgrade.local-consensus
— Exposes support for working with a local consensus (e.g. regtest
Re-exports§
pub use zip32;
Modules§
- Structs and methods for handling Zcash block headers.
- Consensus logic and parameters.
- Network-specific Zcash constants.
- extensions
zfuture
- Support for legacy transparent addresses and scripts.
- local_consensus
local-consensus
- Structs for handling encrypted memos.
- Parsers and serializers for Zcash Merkle trees.
- Structs and methods for handling Zcash transactions.
- ZIP 339 for seed phrase support.