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

Should builder block submissions override previous one by same builder even if less profitable? #51

Closed
metachris opened this issue Aug 11, 2022 · 1 comment · Fixed by #206
Labels
brainstorming Currently in discussion

Comments

@metachris
Copy link
Collaborator

metachris commented Aug 11, 2022

See also: at what level should cancellations be allowed, if at all? #113

@metachris metachris added the brainstorming Currently in discussion label Sep 16, 2022
@metachris
Copy link
Collaborator Author

Perhaps this feature could be opt-in (i.e. with a request header), it might be a little risky for less sophisticated builders to accidentally overwrite their better blocks before 🤔

Implementation-wise it could look like this:

  • for each builder, keep the latest bid around in a cache (redis / db)
  • once a builder submits a new bid, replace the latest bid in the cache and prepare the current best-bid to be delivered on getHeader requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorming Currently in discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant