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

Add a LRU cache of last seen runtime transactions #3274

Closed
kostko opened this issue Sep 14, 2020 · 0 comments · Fixed by #3279
Closed

Add a LRU cache of last seen runtime transactions #3274

kostko opened this issue Sep 14, 2020 · 0 comments · Fixed by #3279
Assignees
Labels
c:runtime/scheduler Category: runtime txn scheduler

Comments

@kostko
Copy link
Member

kostko commented Sep 14, 2020

To enable a basic form of transaction replay prevention, the basic transaction scheduler should add a LRU cache (with the cache size being configurable via a CLI argument) of last seen runtime transactions keyed by transaction hash.

@kostko kostko added the c:runtime/scheduler Category: runtime txn scheduler label Sep 14, 2020
@ptrus ptrus self-assigned this Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:runtime/scheduler Category: runtime txn scheduler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants