-
Notifications
You must be signed in to change notification settings - Fork 27
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
Refactor unapplied transaction queue #295
Merged
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d3a3602
Merge pull request #8043 from EOSIO/incoming-trx-handling
heifner 36161d0
Always call next() since net_plugin needs callback for tracking trans…
heifner 2bb4e34
Guarantee that invariant of next function is called. Indicate duplica…
heifner 9c6cc68
Always call next if set so that http does not have to wait for expira…
heifner eb9facc
EPE-145: unapplied_transaction_queue incorrectly caches incoming_count
vzqzhang b17b6b9
fix an error in the unit test
vzqzhang 2852050
change the comment
vzqzhang f880f9b
Keep unapplied trx around for faster apply block
heifner 5a74319
When speculatively executing last block doesn't apply
heifner 5fca32e
During speculative execution, restart block if current block is exhau…
heifner 66fec95
Remove process_mode as it is not needed
heifner d2089e2
Fix merge issue
heifner cee6013
Track and use return_failure_trace in unapplied transaction queue.
jgiszczak ae1e8bc
Default return_failure_trace to false in unapplied transaction queue
jgiszczak e80ed93
Fix handling of duplicate trx in unapplied trx queue. Honor return_fa…
heifner dc9abf3
Fail the current duplicate instead of previous
heifner 9937e6d
call q.begin and q.end, instead of q.unapplied_begin and q.unapplied_…
vzqzhang f0bc64c
Fix merge issues
heifner 83d23e7
No need to keep persisted after applied in a block. The idea before w…
heifner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
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.
Not sure that this logic makes sense, and the comment on the next line seems wrong. I think at the very least we should return whether or not next is defined here (and will we ever not have next set??).
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.
Updated
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.
Updated