Trait zebra_consensus::ParameterSubsidy
source · pub trait ParameterSubsidy {
// Required methods
fn num_funding_streams(&self) -> usize;
fn height_for_first_halving(&self) -> Height;
}
Expand description
Functionality specific to block subsidy-related consensus rules
Required Methods§
sourcefn num_funding_streams(&self) -> usize
fn num_funding_streams(&self) -> usize
Number of addresses for each funding stream in the Network. [7.10]: https://zips.z.cash/protocol/protocol.pdf#fundingstreams
sourcefn height_for_first_halving(&self) -> Height
fn height_for_first_halving(&self) -> Height
Returns the minimum height after the first halving as described in protocol specification §7.10
Implementations on Foreign Types§
source§impl ParameterSubsidy for Network
impl ParameterSubsidy for Network
Network methods related to Block Subsidy and Funding Streams