Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Distribute REX returns over time to REX owners (release/1.9.x) #413

Merged
merged 23 commits into from
Dec 13, 2019

Conversation

zorba80
Copy link
Contributor

@zorba80 zorba80 commented Dec 13, 2019

Change Description

The proceeds from CPU and network renting, RAM trading fees, and name bids are currently added immediately to the REX pool, thus instantly increasing the value of REX shares.
We change this pattern and channel the proceeds linearly with time over a period of 30 days. In order to achieve this in a CPU- and RAM-efficient way, we accumulate the proceeds accruing within 12-hour intervals into buckets. At the end of each interval, we start to channel the proceeds in the bucket to the REX pool linearly over 30 days. At the end of the 30 day period, the bucket is deleted. At any point in time, there can be up to a maximum of 60 buckets.

Another change is the total_unlent lower bound. It is changed from 20% to 10% of total_lent.

Deployment Changes

  • Deployment Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@zorba80 zorba80 merged commit 988bb42 into release/1.9.x Dec 13, 2019
@zorba80 zorba80 deleted the rex-changes-4 branch December 13, 2019 20:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants