-
Notifications
You must be signed in to change notification settings - Fork 983
implement fix past fees RFC with fee shift since genesis #3629
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
Conversation
let height = 42; // arbitrary | ||
assert!(tx1.validate(Weighting::AsTransaction, height).is_ok()); | ||
assert!(tx2.validate(Weighting::AsTransaction, height).is_ok()); | ||
|
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.
nit: remove superfluous blank line
We should block the merge of this one until mimblewimble/grin-rfcs#77 is accepted |
Yes, that's what it says in top description:-) |
Woops, missed it. But I did mean a literal merge block by making the PR draft (WIP, DNM or similar) |
#3634 updates the config file -
as part of updating the config file to "version 2". So we should be safe to include cleanup around the "rewriting" of this config item at startup in this PR. |
@tromp what's the state of this one? |
Ready to be merged upon approval. |
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.
👍
name: fixpastfees
about: remove dependence of fee() and fee_shift() functions on height
title: 'fix past fees'
labels: ''
assignees: ''
This PR implements the "fix past fees" RFC at https://github.com/mimblewimble/grin-rfcs/blob/master/text/0021-fix-prior-fees.md
It is consensus breaking in the weakest possible sense, in that older clients can disagree only if a many months deep reorg occurs that includes a > 40 bit fee (roughly 1100 Grin) prior to HF4.
This code has been tested on a sync-from-scratch.
No new tests are added, and only a few were removed that used to test that> 40 bit fees were allowed prior to HF4.