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
New minimum values for peg-in and peg-out operations in the 2wp #219
Conversation
afa7efa
to
c097b04
Compare
86a2521
to
7fb3098
Compare
Co-authored-by: josedahlquist <jose.dahlquist@gmail.com>
80c6c5a
to
4c29aa5
Compare
IPs/RSKIP219.md
Outdated
|
|
||
| After this RSKIP activation, the minimum value accepted to perform a peg-out is **0.004 RBTC**. If less than this amount is sent to the bridge address then those funds will be refunded to the user. | ||
| Additionally, a calculation of the fees to be paid by the user is made. If after subtracting the fees, the amount to be received by the user is less than the configured percentage of the total value trying to peg-out then the peg-out will not be completed and funds will be returned to the user. | ||
| The percentage is established on each network independently. The suggested value is 80%. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- not sure what "each network" means
- what does "suggested value" mean? Is it a default threshold that a user must explicitly override?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each network -> regtest, testnet, mainnet
The value is defined in a constants file in rskj code, there is a different file for each network. It's currently set to %80 in mainnet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the current state of this RSKIP "suggested" should be replaced by the exact values that have been chosen for consensus for the different networks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change requested, then ready to merge
IPs/RSKIP219.md
Outdated
|
|
||
| After this RSKIP activation, the minimum value accepted to perform a peg-out is **0.004 RBTC**. If less than this amount is sent to the bridge address then those funds will be refunded to the user. | ||
| Additionally, a calculation of the fees to be paid by the user is made. If after subtracting the fees, the amount to be received by the user is less than the configured percentage of the total value trying to peg-out then the peg-out will not be completed and funds will be returned to the user. | ||
| The percentage is established on each network independently. The suggested value is 80%. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the current state of this RSKIP "suggested" should be replaced by the exact values that have been chosen for consensus for the different networks.
New minimum values for peg-in and peg-out operations in the 2wp