Generalized logic for non-halving block rewards