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

chore: backport #1084, #1089 and #1088 #1093

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Conversation

cmwaters
Copy link
Contributor

@cmwaters cmwaters commented Sep 25, 2023

This PR backports three commits from main
#1084, #1089 and #1088


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use
    unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

dependabot bot and others added 3 commits September 25, 2023 10:39
This PR records that we have sent the peer the transaction to avoid
doing it a second time
TTLs are currently only checked on `Update` which is only when a block
is committed. In the rare event that a block takes several rounds to
commit (because of a faulty transaction that is halting the chain), a
transaction can outlast the TTLDuration that was set by the node
operator.

This PR initiates a separate go routine for both the `v1` and `cat`
mempools that will routinely check for expired transactions and remove
them regardless of when `Update` is called
@cmwaters cmwaters merged commit 2ed2933 into v0.34.x-celestia Sep 25, 2023
@cmwaters cmwaters deleted the cal/backport branch September 25, 2023 15:19
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.

3 participants