I set up a private testnet to play around with and I am currently mining empty blocks. I was surprised to see that the coinbase transaction created by the getblocktemplate RPC had 5 outputs instead of only 1, which is what I normally get on the mainnet. For example, below are the outputs for one particular block:
0.001253953260
0.070000000000
0.400000000000
7.000000000000
10.000000000000
Why does Monero split up the rewards in this instance?
Also, a follow-up question: I'm having a bit of trouble calculating expected rewards from the coinbase transaction. For example, one block's expected reward is 17472187044247, and using the equations from here, 17472187044247 = (2^63 - A) / 2^19, so A = 2^63 - 2^19 * 17472187044247. Using this value of A, we can get the reward from the very next block with R = (2^63 - A - 17472187044247) / 2^19, which gives us R = 17472153718694. However, the actual expected reward of the next block is 17472170381470. I was able to verify this formula on the mainnet, so I'm not sure why the actual reward is greater than the calculated one.