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

docs(dip27): update withdrawal safety to match v22 #160

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dip-0027.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ Asset Unlock transactions might not be mined for multiple reasons. For example,
As a way to avoid a catastrophic failure if Platform is compromised, Core will limit credit pool withdrawals for at least the first release of Platform. The withdrawal limits may be re-evaluated and updated periodically as the system matures. To evaluate withdrawal validity, withdrawal amounts from the last 576 blocks should be tallied. The withdrawal should not be mined if:

* It requests more DASH than the credit pool contains
* The withdrawal would result in more than a 1000 DASH reduction in the credit pool over the 576 block-window
* The withdrawal would result in more than a 2000 DASH reduction in the credit pool over the past 576 blocks

Prior to activation of the `withdrawals` hard fork in Dash Core v22.0, more restrictive limits were followed. The withdrawal would not be mined if:

* The withdrawal would result in more than a 1000 DASH reduction in the credit pool over the past 576 blocks
* The credit pool contains more than 1000 DASH, and the withdrawal would result in more than a 10% reduction in the credit pool over the 576-block window
* The credit pool contains less than 1000 DASH, and the withdrawal would result in more than 100 DASH being removed from the pool over the 576-block window

Expand Down