Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Minimum Upvote Calculation #14

Open
josephsavage opened this issue Aug 15, 2023 · 0 comments
Open

Automate Minimum Upvote Calculation #14

josephsavage opened this issue Aug 15, 2023 · 0 comments

Comments

@josephsavage
Copy link
Owner

for configuration.minimum_vote_threshold, we have a value in rshares and we deliver votes only when pending_balance * 3 > minimum_vote_threshold.
We also use this value downstream in API to calculate pending upvote values.
Approximate value is 0.02 (based on minimum payable post threshold on Hive)

In practice, to update this value, I check a voting account weekly (or so) on hiveblockexplorer and identify the lowest % upvotes I can see and compare their value to the 0.02 threshold. I actually target 0.021. For example, if lowest upvote I find has a value estimate of 0.017 then I take 0.017 / 0.021 = 0.8095 and then minimum upvote value by 0.8095 to derive the new minimum upvote value. This subsequently flows into the downstream calculations.

We can automate this by using the logic that front ends use to estimate upvote values (calculate estimated value of minimum upvote, compare to 0.021, and set new minimum upvote accordingly)

Automation will increase the accuracy of downstream value estimates by keeping minimum upvote values in closer alignment with changes in HIVE price

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant