seredat / karbowanec

Karbo (Karbovanets) - Digital Exchange Medium - cryptocurrency made in Ukraine, CryptoNote protocol implementation.
https://karbo.io/
Other
104 stars 66 forks source link

Change reward calculation #173

Closed aivve closed 2 years ago

aivve commented 2 years ago

Trigger tail emission sooner with a smooth transition of reward amount: use maximal from initial and tail emission reward.

When eventually they meet, there will be a switch to the tail emission and this will happen sooner than in the previous implementation.

This is a cleaner and more correct solution, providing a smooth transition of reward amount because in previous implementation there would be a jump from 1 KRB to 1.5~ KRB as there tail emission kicks in only when reward drops to 1 KRB.

aivve commented 2 years ago

Currently at height 703922 rewards are:

2022-Jan-09 16:59:15.425524 DEBUG   Init. reward: 2.602546012237
2022-Jan-09 16:59:15.427525 DEBUG   Tail  reward: 1.418228033206

1st one is decreasing, 2nd one is increasing, when they meet there will be a transition to the tail emission, perfectly smooth. Wonderful.

aivve commented 2 years ago

Should be adopted together with the next hardfork, so everyone will have this version. Or the transition will cause a hardfork itself.