-
Notifications
You must be signed in to change notification settings - Fork 880
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
Evict Transactions by sender from tail first #4327
Merged
garyschulte
merged 3 commits into
hyperledger:main
from
garyschulte:feature/tx-evict-only-from-tail
Sep 1, 2022
Merged
Evict Transactions by sender from tail first #4327
garyschulte
merged 3 commits into
hyperledger:main
from
garyschulte:feature/tx-evict-only-from-tail
Sep 1, 2022
Conversation
This file contains 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
garyschulte
changed the title
Feature/tx evict only from tail
Evict Transactions by sender from tail first
Aug 30, 2022
garyschulte
force-pushed
the
feature/tx-evict-only-from-tail
branch
6 times, most recently
from
August 31, 2022 04:27
d73f44a
to
5b885bf
Compare
garyschulte
force-pushed
the
feature/tx-evict-only-from-tail
branch
from
August 31, 2022 21:56
5b885bf
to
dcc239e
Compare
garyschulte
added a commit
to garyschulte/besu
that referenced
this pull request
Sep 1, 2022
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 tasks
jflo
approved these changes
Sep 1, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, i find this more intuitive too.
…t price Signed-off-by: garyschulte <garyschulte@gmail.com>
…n sequence id (to better prevent collisions for same gas price and sequence id) Signed-off-by: garyschulte <garyschulte@gmail.com>
use default systemclock instead of fixed change multi-type txpool tests to use different senders to assert the desired eviction behavior Signed-off-by: garyschulte <garyschulte@gmail.com>
garyschulte
force-pushed
the
feature/tx-evict-only-from-tail
branch
from
September 1, 2022 20:16
dcc239e
to
aa3f2e5
Compare
garyschulte
added a commit
to garyschulte/besu
that referenced
this pull request
Sep 1, 2022
Signed-off-by: garyschulte <garyschulte@gmail.com>
garyschulte
added a commit
to garyschulte/besu
that referenced
this pull request
Sep 7, 2022
* evict transactions from tail of senderAndNonce rather than just lowest price * make pendingTransactions secondary sort based on timestamp rather than sequence id (to better prevent collisions for same gas price and sequence id) Signed-off-by: garyschulte <garyschulte@gmail.com>
garyschulte
added a commit
to garyschulte/besu
that referenced
this pull request
Sep 7, 2022
* evict transactions from tail of senderAndNonce rather than just lowest price * make pendingTransactions secondary sort based on timestamp rather than sequence id (to better prevent collisions for same gas price and sequence id) Signed-off-by: garyschulte <garyschulte@gmail.com>
garyschulte
added a commit
to garyschulte/besu
that referenced
this pull request
Sep 7, 2022
* evict transactions from tail of senderAndNonce rather than just lowest price * make pendingTransactions secondary sort based on timestamp rather than sequence id (to better prevent collisions for same gas price and sequence id) Signed-off-by: garyschulte <garyschulte@gmail.com>
eum602
pushed a commit
to lacchain/besu
that referenced
this pull request
Nov 3, 2023
* evict transactions from tail of senderAndNonce rather than just lowest price * make pendingTransactions secondary sort based on timestamp rather than sequence id (to better prevent collisions for same gas price and sequence id) Signed-off-by: garyschulte <garyschulte@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR description
Ensure when besu evicts transactions by sender, that future nonces are evicted first
Fixed Issue(s)
related to protocol-misc 629
Documentation
doc-change-required
label to this PR ifupdates are required.
Changelog