Hello, you mentioned that:
Block Reward = nFees*0.1 + GetBlockSubsidy() // Burn rate is 90% of tx fees
I tried something similar and it doesn't work.
CAmount blockReward = nFees / 2 + GetBlockSubsidy(pindex->nHeight, chainparams.GetConsensus());
I can't mine anything with that modification, it gives an error in the cli:
CreateNewBlock: TestBlockValidity failed: bad-cb-amount (code 16)
And on the daemon side, the error is:
ERROR: ConnectBlock(): coinbase pays too much (actual=10000022500 vs limit=10000011250)
Is there something else that needs to be modified to make the fee burning work?