-
Notifications
You must be signed in to change notification settings - Fork 33
Carry a forker in the mempool #1565
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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 hidden or 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 hidden or 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
33 changes: 33 additions & 0 deletions
33
ouroboros-consensus/changelog.d/20250620_132627_jasataco_mempool_carry_vh.md
This file contains hidden or 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,33 @@ | ||
| <!-- | ||
| A new scriv changelog fragment. | ||
|
|
||
| Uncomment the section that is right (remove the HTML comment wrapper). | ||
| For top level release notes, leave all the headers commented out. | ||
| --> | ||
|
|
||
| ### Patch | ||
|
|
||
| - The mempool will now carry its own forker instead of acquiring one on each | ||
| revalidation. This particularly implies that the mempool will no longer | ||
| re-sync under the hood while trying to add a transaction, and only the | ||
| background thread will perform such a re-sync. | ||
|
|
||
| - The mempool now has its own registry in which it allocates forkers. The | ||
| background thread was moved to this inner registry such that it can access the | ||
| mempool internal registry, but an action to cancel it will still live in the | ||
| outer registry, to ensure the thread is closed before we attempt to close the | ||
| mempool internal registry. Otherwise we would run into a race condition if the | ||
| background thread would attempt a resync while the internal registry was being | ||
| closed. | ||
|
|
||
| <!-- | ||
| ### Non-Breaking | ||
|
|
||
| - A bullet item for the Non-Breaking category. | ||
|
|
||
| --> | ||
|
|
||
| ### Breaking | ||
|
|
||
| - Removed `getLedgerTablesAtFor` from the ChainDB API. Clients now have to | ||
| actually open a forker and manage it. |
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.