-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(txpool): Batch insertions into the Tx Pool #17670
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
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
2336e3d
feat: tx batcher
0xKitsune 8a53008
chore: simplify batch processing logic
0xKitsune db09551
feat: add tx batcher to ethapi
0xKitsune c6dd4c8
chore: fix imports, add todos
0xKitsune c739901
wip: add batcher to ethapi
0xKitsune db5c589
wip: batcher initialization
0xKitsune a32086a
wip: update process_batches
0xKitsune c3a9a5c
test: test process batch
0xKitsune 6f6e47f
wip: use local tx origin
0xKitsune 3d0cd6b
fix: test process batch
0xKitsune ba1de93
test: add transaction, process batches
0xKitsune fc9fec3
feat: BatchTxRequest::new
0xKitsune 68562d9
feat: add batch threshold
0xKitsune 5167b0f
test: test_batch_threshold
0xKitsune 517842a
chore: clippy
0xKitsune a36d15f
chore: move tx batcher to tx-pool
0xKitsune d2d816e
fix: update error types, imports
0xKitsune bcab49c
chore: remove unused dep
0xKitsune 9d3a7d3
chore: clippy
0xKitsune 5aad871
chore: remove unneeded hash trait
0xKitsune ca94194
wip: add todo to drain channel
0xKitsune 4c2bdda
fix: drain channel when processing batch txs
0xKitsune 53aaad0
docs: remove comment
0xKitsune 69d6bcb
Update crates/transaction-pool/src/traits.rs
0xKitsune 879a4da
Update crates/transaction-pool/src/traits.rs
0xKitsune 1f9dfae
Update crates/transaction-pool/src/lib.rs
0xKitsune 3fb23b5
feat: update batch processing as native fut
0xKitsune 354c375
chore: add TxBatchError to EthApiError
0xKitsune 06474c6
fix: error handling
0xKitsune 4fac19c
chore: error handling, cleanup
0xKitsune 26e2247
fmt: fix formatting
0xKitsune 8cf82ab
chore: update naming
0xKitsune 58bf2ee
chore: rename batch types
0xKitsune cbf078c
fmt: cargo fmt
0xKitsune 852776c
bench: txpool insertion
0xKitsune eb7de71
chore: comments
0xKitsune aff4967
fix: remove buffer size, use unbounded channel
0xKitsune 097312f
fix: update types
0xKitsune 1302fbc
fix: update error handling
0xKitsune f826921
Merge branch 'main' into kit/batch-insert
0xKitsune cd239eb
chore: update benches
0xKitsune f3c6546
fmt: cargo fmt
0xKitsune b7a3f06
docs: txpool.max-batch-size args
0xKitsune 18f0633
Merge branch 'main' into kit/batch-insert
0xKitsune a2539a5
Merge branch 'main' into kit/batch-insert
0xKitsune 520bc66
chore: use static
0xKitsune ca14322
feat: use batch tx sender by default
0xKitsune 0ca9a07
chore: update trait bounds
0xKitsune e128924
Merge branch 'kit/batch-insert' of github.com:0xKitsune/reth into kit…
0xKitsune 2949733
docs: update max batch size arg
0xKitsune 7751378
feat: OpEthApi batch insertion
0xKitsune 9809fc5
docs: update vocs
0xKitsune 010bd61
chore: spawn BatchTxProcessor in EthApiInner
0xKitsune 7fdf6c1
docs: add comment back
0xKitsune bff2cc4
docs: add max-batch-size default value
0xKitsune 80c88f2
docs: fix lint
0xKitsune 35440fd
docs: fix ci
0xKitsune f5ef873
fix: cli docs
0xKitsune b40eeaa
docs: run cli/update.sh
0xKitsune 92e19c5
docs: rerun update.sh
0xKitsune 70f0003
Merge branch 'main' into kit/batch-insert
0xKitsune dfb75b3
Merge branch 'main' into kit/batch-insert
mattsse 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.