Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

bundle specific mutex #60

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

bundle specific mutex #60

wants to merge 2 commits into from

Conversation

dmarzzz
Copy link
Member

@dmarzzz dmarzzz commented Apr 8, 2023

📝 Summary

  • Currently regular transactions and bundles share the same mutex, this can have noticeable latency effects depending on the mempool size a builder is running. This PR adds bmu for bundle specific operations. I originally PR'ed this in Bundle pool + mutex fix #29 but it also included some other changes which weren't needed.

  • Fixed initialization of testBlockChain in TestBundleCancellations which looks like it was the result of a merge.

@dmarzzz dmarzzz marked this pull request as ready for review April 8, 2023 21:56
@Ruteri
Copy link
Collaborator

Ruteri commented Apr 13, 2023

@dmarzzz could you rebase? Sorry about that, Shapella changes got in the way.

dvush added a commit that referenced this pull request Apr 19, 2023
* basic sbundle

* sbundle pool

* sbundle api

* local builder

* move sim bundle to core

* working builder

* db for sbundles

* report sbundle stat

* mev_simBundle nested logs

* refundConfig

* pay kickback from refundable value

* lints

* percentof

* sbundle pool with separate lock

* don't wait for error when adding sbundle
dvush added a commit that referenced this pull request Jun 2, 2023
* basic sbundle

* sbundle pool

* sbundle api

* local builder

* move sim bundle to core

* working builder

* db for sbundles

* report sbundle stat

* mev_simBundle nested logs

* refundConfig

* pay kickback from refundable value

* lints

* percentof

* sbundle pool with separate lock

* don't wait for error when adding sbundle
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants