Skip to main content

nsm_value_balance_before

Function nsm_value_balance_before 

Source
pub fn nsm_value_balance_before(
    height: Height,
    network: &Network,
    parent_nsm_value_balance: Amount<NonNegative>,
) -> Amount<NonNegative>
Expand description

NSMValueBalance(height - 1): the Network Sustainability Mechanism value balance the block at height reissues from, where parent_nsm_value_balance is the balance after its parent block.

The halving-preserving issuance ZIP defines NSMValueBalance(NU7ActivationHeight - 1) as INITIAL_NSM_VALUE_BALANCE, the subsidy and fees left unclaimed before NU6, so the NU7 activation block reissues from that seed.