Expand description
A crate for Zcash protocol constants and value types.
zcash_protocol contains Rust structs, traits and functions that provide the network constants
for the Zcash main and test networks, as well types for representing ZEC amounts and value
balances.
§Feature flags
test-dependencies— Exposes APIs that are useful for testing, such aspropteststrategies.local-consensus— Exposes support for working with a local consensus (e.g. regtest).
Modules§
- consensus
- Consensus logic and parameters.
- constants
- Network-specific Zcash constants.
- local_
consensus local-consensus - memo
- Structs for handling encrypted memos.
- testing
test-dependencies - value
- zip318
- Protocol parameters for ZIP 318 pool migration: the canonical denomination series that pool-crossing values are drawn from, the anchor bucket grid that crossings are proved against, and the constants that shape and space the transactions carrying them.
Structs§
- TxId
- The identifier for a Zcash transaction.
Enums§
- Pool
Type - A value pool in the Zcash protocol.
- Shielded
Pool - A Zcash shielded pool.
Type Aliases§
- Shielded
Protocol Deprecated