You are viewing a single comment's thread from:

RE: Voting Allocations Have Been Upgraded! [Critical Update]

in #steemit7 years ago

You can use the following python code to replicate the math/algorithm we are using now:

SHADOW_DIVIDER = 5
FRACTIONAL_VOTING_LEVEL = 1250
FVLSD = FRACTIONAL_VOTING_LEVEL/SHADOW_DIVIDER

shadow_rank = 99
steem_power = 9862

vote = round( ( ( ( shadow_rank + (steem_power/FVLSD) ) / 2 ) / SHADOW_DIVIDER), 1)

print (vote)

Sort:  

Thanks for clearing the doubt

for others who want to calculate vote, can use online python ide
Just copy paste the code and input your shadow rank and steem power
https://www.jdoodle.com/python-programming-online

Good call didn't even think of an online python ide/runtime! The code is simple enough it requires 0 imports it should run ANYWHERE!

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.031
BTC 62108.38
ETH 2582.55
USDT 1.00
SBD 2.57