-
Notifications
You must be signed in to change notification settings - Fork 677
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/microblock fees #3144
Merged
jcnelson
merged 14 commits into
feat/btc-stx-exchange-rate
from
fix/microblock-fees-3140
Jun 7, 2022
+1,082
−60
Merged
Fix/microblock fees #3144
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c0ad1e0
fix: fix #3140 by making it so that once the now-matured block's pare…
jcnelson 6861ede
chore: plumb through the sortition DB handle to determine a matured r…
jcnelson 18c6200
feat: add unit test coverage for both the old (incorrect) microblock …
jcnelson 8463b20
Merge branch 'feat/btc-stx-exchange-rate' into fix/microblock-fees-3140
jcnelson 8d6eb08
Merge branch 'feat/btc-stx-exchange-rate' into fix/microblock-fees-3140
jcnelson d1c3209
fix: update new unit tests so they don't stomp all over each other's …
jcnelson 20cfd60
Merge branch 'feat/btc-stx-exchange-rate' into fix/microblock-fees-3140
jcnelson 02f7401
Merge branch 'feat/btc-stx-exchange-rate' into fix/microblock-fees-3140
jcnelson e625081
chore: add unit test for the case where there are no microblocks, to …
jcnelson 640f62e
Merge branch 'feat/btc-stx-exchange-rate' into fix/microblock-fees-3140
jcnelson 6754379
fix: user-burn-supports don't get a coinbase reward for poison-microb…
jcnelson b1db0a0
fix: don't clobber another test's disk state
jcnelson 8ed7199
chore: cargo fmt
jcnelson b33ad10
Merge branch 'feat/btc-stx-exchange-rate' into fix/microblock-fees-3140
jcnelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can unit tests for this function be used to test the miner reward calculations?
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.
They are, albeit indirectly, via
test_get_block_info_v210
andtest_get_block_info_v210_no_microblocks
. Each block and microblock stream has a unique set of transaction fees, and the test verifies that these fees are awarded accordingly.