Module zebra_consensus::parameters::subsidy
source · Expand description
Constants for Block Subsidy and Funding Streams
Structs§
- Convenient storage for all addresses, for all receivers and networks
- Start and end Heights for funding streams as described in protocol specification §7.10.1.
- The numerator for each funding stream receiver category as described in protocol specification §7.10.1.
Enums§
- The funding stream receiver categories.
Constants§
- Used as a multiplier to get the new halving interval after Blossom.
- The first halving height in the testnet is at block height
1_116_000
as specified in protocol specification §7.10.1 - Number of addresses for each funding stream in the Mainnet. In the spec (protocol specification §7.10) this is defined as:
fs.addressindex(fs.endheight - 1)
however we know this value beforehand so we prefer to make it a constant instead. - Number of addresses for each funding stream in the Testnet. In the spec (protocol specification §7.10) this is defined as:
fs.addressindex(fs.endheight - 1)
however we know this value beforehand so we prefer to make it a constant instead. - Address change interval function here as a constant as described in protocol specification §7.10.1.
- List of addresses for the ECC funding stream in the Mainnet.
- List of addresses for the ECC funding stream in the Testnet.
- List of addresses for the Major Grants funding stream in the Mainnet.
- List of addresses for the Major Grants funding stream in the Testnet.
- Denominator as described in protocol specification §7.10.1.
- The specification for all current funding stream receivers, a URL that links to ZIP-214.
- List of addresses for the Zcash Foundation funding stream in the Mainnet.
- List of addresses for the Zcash Foundation funding stream in the Testnet.
- The largest block subsidy, used before the first halving.
- After Blossom the block time is reduced to 75 seconds but halving period should remain around 4 years.
- Halving is at about every 4 years, before Blossom block time is 150 seconds.
- An initial period from Genesis to this Height where the block subsidy is gradually incremented. What is slow-start mining
SlowStartShift()
as described in protocol specification §7.8
Traits§
- Functionality specific to block subsidy-related consensus rules