Skip to main content

cumulative_scheduled_issuance

Function cumulative_scheduled_issuance 

Source
pub fn cumulative_scheduled_issuance(
    height: Height,
    network: &Network,
) -> Result<Amount<NonNegative>, SubsidyError>
Expand description

Cumulative scheduled issuance through height, including the scheduled genesis subsidy.

Slow start is summed arithmetically; later constant-subsidy ranges are bounded by spacing changes and halvings. The inverse halving-height calculation is deliberately not required.