This repository was archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Add support for additional block building algorithm #76
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
571a2a3
Add initial implementation for builder bucketized merging algorithm
Wazzymandias 75de38c
Simplify logic and update buckets to initialize from top of heap rath…
Wazzymandias 96af7eb
Add logic to commit transactions when heap is empty
Wazzymandias 44cce7a
Fix erroneous integer division
Wazzymandias 631a995
Refactor function signatures
Wazzymandias d3a6c14
Revert algo type since lots of tight coupling to it
Wazzymandias 9f3eb5a
Update unit tests, pass in builder algorithm type to greedy builder
Wazzymandias a54912e
Fix linter error
Wazzymandias 5aec42b
Add comment
Wazzymandias a489dc7
Move profit function to TxWithMinerFee pointer receiver, refactor sor…
Wazzymandias 32a38d8
Add logic for enforcing profit on bundles and sbundles
Wazzymandias d184abc
Fix unit tests
Wazzymandias 9c67c26
Split greedy buckets builder from greedy builder
Wazzymandias b226b8c
Add greedy bucket worker
Wazzymandias e422c3b
Update tests to support separate greedy buckets builder, add retry logic
Wazzymandias 76206d7
Rename function for retry and push
Wazzymandias b71bc56
Fix README, update comments
Wazzymandias 13be2e9
Make new multi worker explicit in supported algorithm types, update S…
Wazzymandias 359517d
Address PR feedback
Wazzymandias 1c5300a
Fix unit test
Wazzymandias 02e1ebe
Reduce retry count to 1, update signature formatting
Wazzymandias 56880a3
Add else statement with panic clause for unsupported order type in al…
Wazzymandias 5f311af
Update function signature
Wazzymandias e20aab1
Update unit test
Wazzymandias 9a463fb
Update greedy buckets algorithm to use gas used for transaction on re…
Wazzymandias d2a2a86
Address PR feedback
Wazzymandias 5cea23a
Merge remote-tracking branch 'origin/main' into build-300/improve-blo…
Wazzymandias 59ee5cd
Remove print statements used for debugging
Wazzymandias c9cad3d
Add support for test builder algorithm for parallelized algo testing,…
Wazzymandias 19feb4a
Remove tx profit validation for the scope of this PR due to performan…
Wazzymandias 647309f
Update unit test
Wazzymandias 0df6b29
Update method signatures to algoConf
Wazzymandias 4b9e2c3
Update references of validation conf to algo conf
Wazzymandias 8eccf03
Merge remote-tracking branch 'origin/main' into build-300/improve-blo…
Wazzymandias 76aec25
Remove test only algorithm from PR
Wazzymandias adaaf14
Move closures to outside function, add low profit error and update gr…
Wazzymandias 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 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.
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.