Module zcash_primitives::consensus
source · Expand description
Consensus logic and parameters.
Modules§
- testing
test-dependencies
Structs§
- A wrapper type representing blockchain heights.
- Marker struct for the production network.
- Marker struct for the test network.
Enums§
- A globally-unique identifier for a set of consensus rules within the Zcash chain.
- The enumeration of known Zcash networks.
- The enumeration of known Zcash network types.
- An event that occurs at a specified height on the Zcash chain, at which point the consensus rules enforced by the network are altered.
Constants§
- The height of the genesis block on a network.
- The production network.
- The test network.
- The “grace period” defined in ZIP 212.
Traits§
- Constants associated with a given Zcash network.
- Zcash consensus parameters.