forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge dashpay#6369: feat: increased withdrawal limits to flat 2000 fr…
…om v22 e43ca62 feat: replace assert to error in p2p code of Asset Lock (Konstantin Akimov) c97f5f5 feat: update some asserts related to CreditPool in consensus code to exceptions (Konstantin Akimov) 877aa08 feat: generate less blocks in feature_asset_locks.py to make it faster (Konstantin Akimov) a51ade5 style: apply clang-format (Konstantin Akimov) ef6190e docs: add release notes for withdrawal changes in v22 (Konstantin Akimov) 5b0a2f5 fix: string in credit pool logs 'previous' is renamed to recently unlocked (Konstantin Akimov) 31ca8a4 feat: update limit of withdrawals to flat 2000 starting from v22 (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented Limit 1000 seems a bit small at the moment, while limit 2000 is still safe enough. ## What was done? Withdrawals limits in pre-v22 are: - if credit pool is more than 10k -> limit withdrawals to 1k - if credit pool is between 100 dash and 10000 dash -> let to withdraw 10%. - if 10% of credit pool is less than 100 dash -> no limits, let to withdraw everything. The fork `withdrawals` introduces higher limit: - 2000 dash per last 576 blocks. That's all. ## How Has This Been Tested? Updated functional test `feature_asset_locks.py` ## Breaking Changes Limits of withdrawals are increased to 2000 dash. It changes consensus rules. ## Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone ACKs for top commit: PastaPastaPasta: utACK e43ca62 UdjinM6: utACK e43ca62 Tree-SHA512: 77fc27b6b38105cc311ee5ea78d66edfe854600ad6fb9422c0d302dac436e9aa1dcdc394a36ccb980d42de98091c1596e01be260b3a940df4e6309842fd89065
- Loading branch information
Showing
6 changed files
with
66 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Notable changes | ||
|
||
## Asset Unlock transactions (platform transfer) | ||
|
||
This version introduces a new fork `withdrawals` that changes consensus rules. | ||
New logic of validation of Asset Unlock transactions's signature. It let to use all 24 active quorums and the most recent inactive, while previous version of Dash Core may refuse withdrawal with error `bad-assetunlock-not-active-quorum` even if quorum is active. | ||
|
||
Limits for withdrawals has been increased to flat 2000 Dash per 576 latest blocks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters