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

Transaction size checking #220

Open
2 tasks
steinerkelvin opened this issue Nov 7, 2022 · 2 comments
Open
2 tasks

Transaction size checking #220

steinerkelvin opened this issue Nov 7, 2022 · 2 comments
Labels

Comments

@steinerkelvin
Copy link
Contributor

steinerkelvin commented Nov 7, 2022

  • unallow too large transactions on mempool, returning errors on API call
  • a command that outputs transaction sizes of the given statements, what fraction of a block size they would represent, showing warnings if they don't fit
    • this could be a feature of a more general check command that could also, in the future, outputs the minimum amount of blocks that would be needed
@steinerkelvin
Copy link
Contributor Author

Example:

Size: 10 (1%)
Name: Available ✓
ctr {Leaf value}

Size: 80 (6%)
Name: Already Deployed ✓
fun (Gen depth)

Size: 40 (3%)
Name: Occupied XXX
fun (Sum tree)

Size: 40 (3%)
Run: fails XXX (?)
run {
  (Done (Sum (Gen #16)))
}

Size: 4000 (200%) Doesn't fit XXX
Name: Available ✓
fun (Fib act)

@racs4
Copy link
Contributor

racs4 commented Dec 14, 2022

I think this can be closed due to the changes in #221

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

No branches or pull requests

2 participants