Skip to content
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

Fixed mempool pruning #9225

Merged
merged 1 commit into from Mar 9, 2024
Merged

Conversation

SChernykh
Copy link
Contributor

  • Fixed undefined behavior after a call to remove_tx_from_transient_lists (it used an invalid iterator)
  • Fixed txCompare (it wasn't strictly weak ordered)

This PR fixes a crash/hang when mempool reaches max-txpool-weight

- Fixed undefined behavior after a call to `remove_tx_from_transient_lists` (it used an invalid iterator)
- Fixed `txCompare` (it wasn't strictly weak ordered)
Copy link
Contributor

@jeffro256 jeffro256 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. LGTM!

@luigi1111 luigi1111 merged commit 1bec712 into monero-project:master Mar 9, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants