Block reward scaling factor on 12 month periods
I can only get close with this: 8 * dDiff / ((525600 + nHeight) / 525600)
Which looks wrong since that would be an increasing subsidy into a complete double by day 356 (and forget what multiplication instead of division gets you!).
8 * dDiff / ((525600 - nHeight) / 525600) would be a decreasing subsidy and gets me closer, for now, but that would take us to a complete 0 subsidy by day 365.
I'm sure I'm missing something here and really showing my ignorance.
nHeight is block height or block number. 1 year = ~525600 blocks
So lets calculate the reward for dDiff = 1 and block 525600 (~365th day)
8 * 1 / ((525600 + 525600) / 526500) = 8 * 1 / (1051200 / 525600) = 8 * 1 / 2 = 4