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

shower thought: don't store the code in the tree #451

Open
gballet opened this issue Jun 23, 2024 · 0 comments
Open

shower thought: don't store the code in the tree #451

gballet opened this issue Jun 23, 2024 · 0 comments

Comments

@gballet
Copy link
Owner

gballet commented Jun 23, 2024

Since it's pretty obvious that a lot of space can be saved by not storing empty leaves, it is worth trying not to store the leaves containing only code. This means:

  • In account headers, only store the account leaves and data
  • In regular code groups, only store the commitments.

This works in geth, because the code is stored out-of-band and with a better storage format.

@gballet gballet changed the title shower thought: don' shower thought: don't store the code in the tree Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant