Skip to content
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

miner/worker: unilaterally discount mempool tx's from bundle pricing (flashbots/pm#110) #128

Closed

Conversation

llllvvuu
Copy link

@llllvvuu llllvvuu commented May 3, 2022

This is an illustration of the proposal made in flashbots/pm#110. I
didn't actually test this code (YOLO). It changes two bundle pricing
cases:

  • If a multi-tx reordering (e.g. backrun, swap sandwich, LP sandwich) is
    submitted, it will not be penalized by adding the mempool transactions
    to the denominator but not the numerator
  • If a coinbase payment is somehow picked up from the mempool, bundles
    can't be stuffed with it

(flashbots/pm#110)

This is an illustration of the proposal made in flashbots/pm#110.  I
didn't actually test this code (YOLO). It changes two bundle pricing
cases:
- If a multi-tx reordering (e.g. backrun, swap sandwich, LP sandwich) is
  submitted, it will not be penalized by adding the mempool transactions
  to the denominator but not the numerator
- If a coinbase payment is somehow picked up from the mempool, bundles
  can't be stuffed with it
@llllvvuu llllvvuu closed this Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant