nodeset-org / constellation

GNU General Public License v3.0
5 stars 0 forks source link

Minimum stake ratio #239

Closed VVander closed 2 months ago

VVander commented 2 months ago

Previously the targetStakeRatio was used for three things: 1) a target for RPL top-ups 2) a target for RPL top-downs 3) defining the minimum ratio so that new minipools wouldn't be created if they would push the actual stake ratio down below this value

This PR adds a new protocol parameter called minimumStakeRatio which instead performs the third function above instead and can be set independently.

Note that this PR only has logic, no tests yet.

Addresses #235