You are viewing a single comment's thread from:

RE: Write a Steemit Web App: Part 13 - How to Calculate a Vote's RShares

in #steemdev7 years ago

This tutorial is awesome! long time ago I wanted to understand these small parts of the code! but the code is still complicated for me (a lot of lines to search in).
The only part that I did not understand is this:
used_power = (weighted_voting_power + max_vote_denom - 1) / max_vote_denom

max_vote_denom is always equal to 50... means something like "50 votes are regenerated in 5 days"... because the vote_power_reserve_rate is the number of votes regenerated per day (Source).

Any ideas?
Good work. Thank you.

Sort:  

That part is still not very clear to me, either. That was directly taken from the C source code. When I get time, I was going to go through the history of that file to see if I could gain some insight from the series of commits that touched that line.

Hi @jfollas, I have not seen any of your posts for a while, which are so interesting.
Look, I just posted in detail how the steemit reward system works, I hope it helps.

Hi @jfollas, I read the code (I'm very tired, a lot of research), now it is more clear for me.
I posted an infographic about all this reward system, if you want to check out.

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.029
BTC 61896.22
ETH 2413.79
USDT 1.00
SBD 2.66