Skip to main content

nsm_reissuance_crossing_height

Function nsm_reissuance_crossing_height 

Source
pub(super) fn nsm_reissuance_crossing_height(
    network: &Network,
) -> Result<Option<Height>, SubsidyError>
Expand description

Finds ZIP 237’s first strict reference-subsidy crossing after the third halving.

This depends only on the issuance schedule, never the actual reserve or transaction fees. Within this halving era the reference reserve decreases and the scheduled subsidy is constant (or increases during a custom slow start), so the predicate is monotonic.