-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix past fees #77
Fix past fees #77
Conversation
@tromp Have you confirmed nobody has used a fee that large in the past? If you have, then I see no reason we can't get this accepted. |
text/0000-fix-prior-fees.md
Outdated
[community-level-explanation]: #community-level-explanation | ||
|
||
The largest fee to appear on mainnet prior to Hark Fork 4 is 2.404 Grin. This means that extending the current 40-bit fee restriction to the pre-HF4 history preserves validity. | ||
While this is technically a hard-forking change, it would only have any visible |
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.
this sentence "it would only have any visible" is unfinished
Should we move it to FCP and get it accepted ASAP so that we can also tackle the PR that implements this? |
In line with our governance process, this RFC can be considered being in Final Comment Period, with a disposition to merge in two weeks time, on April 20. Please ensure any comments are made before then! |
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.
Small format comments. Overall 👍
text/0000-fix-prior-fees.md
Outdated
[summary]: #summary | ||
|
||
Carry the restriction of fees, to 40 bits since HF4, back to all history. | ||
Do not change headerversion despite the hard-forking nature. |
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.
Do not change headerversion despite the hard-forking nature. | |
Do not change `headerversion` despite the hard-forking nature. |
or
Do not change headerversion despite the hard-forking nature. | |
Do not change header version despite the hard-forking nature. |
text/0000-fix-prior-fees.md
Outdated
## Motivation | ||
[motivation]: #motivation | ||
|
||
This makes the FeeFields methods fee() and fee\_shift() height independent, |
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.
This makes the FeeFields methods fee() and fee\_shift() height independent, | |
This makes the `FeeFields` methods `fee()` and `fee_shift()` height independent, |
text/0000-fix-prior-fees.md
Outdated
## References | ||
[references]: #references | ||
|
||
[1] [Grin github](https://github.com/mimblewimble/grin/blob/acba73bf40242f963d8ea1e7128dfdfde6fb8853/core/src/core/transaction.rs#L181-L188) |
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.
Maybe a different link name?
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.
Looks good overall, few small typos
text/0000-fix-prior-fees.md
Outdated
This makes the `FeeFields` methods `fee()` and `fee\_shift()` height independent, | ||
as well as several other functions which end up calling them. | ||
This results in nontrivial code and consensus model simplification, | ||
with no downsise, which is always a good thing. |
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.
Should "downsise" -> "downside"?
text/0000-fix-prior-fees.md
Outdated
## Motivation | ||
[motivation]: #motivation | ||
|
||
This makes the `FeeFields` methods `fee()` and `fee\_shift()` height independent, |
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.
Should fee\_shift()
-> fee_shift()
?
update README
Link to rendered text
Implemented in PRs mimblewimble/grin#3629 and mimblewimble/grin-wallet#602 .