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

[Feature] Batch proposal spend limits #2601

Draft
wants to merge 4 commits into
base: staging
Choose a base branch
from

Conversation

niklaslong
Copy link
Collaborator

This PR introduces a BATCH_SPEND_LIMIT which is currently set to 100 credits and continues the exploratory work done in #2565. Under the assumption that 100 credits equals 1s of single-threaded runtime and given that a block contains NUM_MAX_CERTIFICATES, the upper bound on block time should be approximately 16s, in the worst case. Unfortunately, this approach does scale with the number of validators.

Drafted as more discussion and testing is required.

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