From aa773af4f22d8e2be5e2b1863f292a6b11ae89b8 Mon Sep 17 00:00:00 2001 From: thephez Date: Wed, 30 Oct 2024 14:22:22 -0400 Subject: [PATCH 1/2] docs(dip27): update withdrawal safety to match v22 Dash Core v22 makes simplifies withdrawal safety rules and also makes them less restrictive --- dip-0027.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dip-0027.md b/dip-0027.md index 25ae667..5903bc9 100644 --- a/dip-0027.md +++ b/dip-0027.md @@ -142,6 +142,10 @@ 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 2000 DASH reduction in the credit pool over the 576 block-window + +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 576 block-window * 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 From 013d97086391e51c21bf0a2b1471f0e3f825d32c Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 4 Nov 2024 10:32:58 -0500 Subject: [PATCH 2/2] docs(dip27): review updates --- dip-0027.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dip-0027.md b/dip-0027.md index 5903bc9..83445d0 100644 --- a/dip-0027.md +++ b/dip-0027.md @@ -142,11 +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 2000 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 576 block-window +* 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