Post
Topic
Board Announcements (Altcoins)
Re: [ANN] BITGESELL - Store of value (Burn rate is 90% of tx fees) #realstoreofvalue
by
DarkArrow
on 19/05/2021, 02:40:22 UTC
Hello, you mentioned that:
Quote
Block Reward = nFees*0.1 + GetBlockSubsidy()    // Burn rate is 90% of tx fees

I tried something similar and it doesn't work.
Quote
CAmount blockReward = nFees / 2 + GetBlockSubsidy(pindex->nHeight, chainparams.GetConsensus());

I can't mine anything with that modification, it gives an error in the cli:
Quote
CreateNewBlock: TestBlockValidity failed: bad-cb-amount (code 16)

And on the daemon side, the error is:
Quote
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?