Advertisement
Guest User

PoS on BC

a guest
Feb 28th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. From the source:
  2.  
  3. int64 nSubsidy = nCoinAge * COIN_YEAR_REWARD * 33 / (365 * 33 + 8 );
  4.  
  5. nCoinAge is days. For the age of your coin you get 1% * coinage / days in a year.
  6.  
  7.  
  8.  
  9. So to put in numbers.
  10.  
  11. You have 100,000 coins that are all 8 hours old and generate a stake. You get 100000 * .01 * .33 / 365 = 0.904109.
  12. You now have 100000.904109
  13.  
  14. Next time you wait 5 days before you generate a stake.
  15.  
  16. 100000.904109 * .01 * 5 / 365 = 13.69875
  17. Now you have 100014.602859
  18.  
  19. Next time you wait 90 days
  20. 100014.602859 * .01 * 90 / 365 = 246 .611348
  21. Now you have 100261.214207
  22.  
  23. Next time you wait the rest of the year
  24. 100261.214207 * 0.01 * 269.66 /365 = 740.724356
  25. Now you have 101001.938563
  26.  
  27. Or just a bit over 1% annually.
  28.  
  29. This will always come out to a bit over 1% annually because the coin age continues to grow until the coins stake. The period they will actually stake is random, but irrelevant because the reward uses coin age.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement