Commit eb4b61d7 authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: Replaced unused total_votes, up_votes, net_votes in hive_posts with...

[ABW]: Replaced unused total_votes, up_votes, net_votes in hive_posts with dynamic calculations in view (that change might be reverted in next iteration)
Also removed separate queries to calculate above values - all is now part of hive_posts_view
Reintroduced last_payout_at column updated at every payout (used in database_api)
Added is_effective field to hive_votes (allowed filtering out votes cast after payout and simplification of hive_votes updates)
[Fix] database_api response for posts after payout (payout related values are zeroed)
[Note] total_vote_weight value cannot be properly recreated with data HiveMind currently has - hived change required
parent ff958dc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment