Steem 0.22.1
Steem 0.22.1 Release Notes
All nodes should upgrade to 0.22.1.
Reindexing
Steem 0.22.1 does require reindexing from 0.22.0. If you have not upgraded to MIRA, please read the MIRA release notes on that process if you wish to run your Steem node backed by MIRA. Otherwise, a non-mira 0.22.1 is available under the tag v0.22.1-no-mira
.
Overview
This is a bug fix for 0.22.1. There is a subtle behavior in the new curation rewards curve that lead to votes being able to have a curation reward weight of -1, which when stored in an unsigned field resulted in a computed value of 2^64 - 1. When paid out, these votes were attempting to receive trillions in STEEM, which was caught by other assertions. There is not a problem with mathematics backing the curation reward curve, but subtleties in the integer based approximation of a square root. The release floors the curation reward weight in such cases to 0. This can only happen when votes are allocating very few rshares and would not receive a reward, so forcing the value to 0 will not impact how rewards are allocated.