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

Additional validation for IO roots #3440

Closed
kostko opened this issue Oct 21, 2020 · 0 comments · Fixed by #3732
Closed

Additional validation for IO roots #3440

kostko opened this issue Oct 21, 2020 · 0 comments · Fixed by #3732
Assignees
Labels
c:storage Category: storage

Comments

@kostko
Copy link
Member

kostko commented Oct 21, 2020

After #2053 the runtime storage nodes should perform additional validation when accepting updates via Apply for IO roots:

  • The format of each key must be a valid transaction key or a valid tag key.
  • The number of transaction inputs or outputs must be at most runtime.txn_scheduler.max_batch_size.
  • The size of transaction inputs must be at most runtime.txn_scheduler.max_batch_size_bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:storage Category: storage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants