pub fn funding_stream_address_period<N: ParameterSubsidy>(
height: Height,
network: &N,
) -> HeightDiffExpand description
Returns the address change period as described in protocol specification §7.10
The result is signed, and callers only ever use the difference between two periods. It can be negative below the first funding stream: on a configured Testnet whose upgrades are packed into a few hundred blocks, ZIP 218 pushes the first halving above every height the network reaches once NU7 activates before it. Clamping a negative period to zero would silently collapse those differences, so the sign is preserved here and the conversion is left to the callers, which know the range they are counting over.