Skip to content

Conversation

@AurelienFT
Copy link
Contributor

@AurelienFT AurelienFT commented Jan 16, 2025

Linked Issues/PRs

#2564

Description

At a cost of some performance, because we now iterate over an HashSet instead of a Vec, we remove transactions from height_expiration_txs when we prune them and when they are inserted on a block which is the two cases where a transaction can be removed. Maybe we should be clearer on the code where the tx are removed and regroup the behaviour in the same place (#2580)

Checklist

  • Breaking changes are clearly marked as such in the PR description and changelog
  • New behavior is reflected in tests
  • The specification matches the implemented behavior (link update PR if changes are needed)

Before requesting review

  • I have reviewed the code myself
  • I have created follow-up issues caused by this PR and linked them here

@AurelienFT AurelienFT requested a review from a team January 16, 2025 10:42
@AurelienFT AurelienFT requested a review from rafal-ch January 16, 2025 14:03
@AurelienFT AurelienFT requested a review from rafal-ch January 20, 2025 15:53
rafal-ch
rafal-ch previously approved these changes Jan 22, 2025
Copy link
Contributor

@rafal-ch rafal-ch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@AurelienFT AurelienFT requested a review from rymnc January 27, 2025 16:26
@AurelienFT AurelienFT self-assigned this Jan 30, 2025
rafal-ch
rafal-ch previously approved these changes Feb 10, 2025
@rafal-ch
Copy link
Contributor

rafal-ch commented Mar 6, 2025

@AurelienFT do we still want this?

@AurelienFT
Copy link
Contributor Author

@rafal-ch Yes but it's low prio so paused for now

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.

4 participants