pull down to refresh

I will code the "function" for subsidy and reward (halving) for Bitcoin miners
reward halving?
You think miners get too much
or maybe I do not understand your meaning
reply
No! After 4 years there is what is called halving in Bitcoin. i.e as of this year miners REWARD is 6.25BTC and in 2024 which is another halving year there reward shall be 3.125 BTC. All am saying is that using C++, I would want to write a function (code) that execute that