Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [ORC] | originchain | GPU+Masternode | PHP Based |Floating reward|Test Net
by
junyuanshao
on 10/02/2019, 16:50:40 UTC
Quoted it for you, it's that your account is too new so pictures won't show up. What's the total supply?



Total theoretical amount: 108 000 000

In theory, it can not be achieved, because it is a floating reward, and the number of rewards will be adjusted according to the difficulty, so the total amount should not reach 70% of the maximum total amount.

Code for total testing:
Code:
$total_all_number=0;
$x=100;  //start reward
echo '1Month    Coin Number:'.(360*$x*30).'    Maximum theoretical reward:'.$x."\n";
$i=2;
$total_all_number=(360*$x*30);
while (true) {
$x=$x*0.99;
$total_all_number=$total_all_number+(360*$x*30);
echo $i.'Month    Coin Number:'.(360*$x*30).'    Maximum theoretical reward:'.$x."\n";

if ($x<=0.00000001) {
break;
}
$i=$i+1;
}
echo 'total_all_number: '.$total_all_number;

// result
// 2293Month   ≈ 191 year
// total_all_number: 107999999.98941