Expand description
Consensus logic and parameters.
Modules§
- testing
test-dependencies
Structs§
- Block
Height - A wrapper type representing blockchain heights.
- Main
Network - Marker struct for the production network.
- Test
Network - Marker struct for the test network.
Enums§
- Branch
Id - A globally-unique identifier for a set of consensus rules within the Zcash chain.
- Network
- The enumeration of known Zcash networks.
- Network
Type - The enumeration of known Zcash network types.
- Network
Upgrade - 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§
- H0
- The height of the genesis block on a network.
- MAIN_
NETWORK - The production network.
- TEST_
NETWORK - The test network.
- ZIP212_
GRACE_ PERIOD - The “grace period” defined in ZIP 212.
Traits§
- Network
Constants - Constants associated with a given Zcash network.
- Parameters
- Zcash consensus parameters.