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

Prevent large snark works sneaking in on coinbases #8576

Closed
bkase opened this issue Apr 6, 2021 · 0 comments
Closed

Prevent large snark works sneaking in on coinbases #8576

bkase opened this issue Apr 6, 2021 · 0 comments
Assignees

Comments

@bkase
Copy link
Member

bkase commented Apr 6, 2021

One idea: Block producers who are about to win a slot should snark work the coinbase-relevant transaction
^^ Note: This doesn't work because the block producer won't have enough time to know which snark work is coinbase-relevant until the moment they need to make their block (in the majority of cases)

In the short term (this issue), we'll add a new flag --minimum-block-reward <AMOUNT> to block producers that will not add any coinbases or transactions to blocks if the reward is less than the minimum. Longer term, we'll deprecate this as we add more programmability to snark work and transaction selection strategies

In the long term we'll do #8585 .

This will prevent -- once and for all -- any games with snark workers slipping in large fees for the coinbase if for some reason a block producer doesn't hear all the gossip.

@bkase bkase changed the title Block producers who are about to win a slot should snark work the coinbase-relevant transaction Prevent large snark works sneaking in on coinbases Apr 7, 2021
@bkase bkase assigned mrmr1993 and deepthiskumar and unassigned mrmr1993 Apr 7, 2021
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

No branches or pull requests

3 participants