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

Improve Trie log branch pruning #5393

Open
non-fungible-nelson opened this issue Apr 26, 2023 · 0 comments
Open

Improve Trie log branch pruning #5393

non-fungible-nelson opened this issue Apr 26, 2023 · 0 comments

Comments

@non-fungible-nelson
Copy link
Contributor

There are several ways to optimize pruning. The flat database has perfect pruning but on the branch side we can still improve things. Bonsai, thanks to the fact that it saves nodes by location, allows you to replace old nodes with new ones automatically and therefore have efficient pruning. But when we don't replace an old location we leave it present. This should perhaps be tracked and deleted in the background afterwards

We can also be sure that we are cleaning everytime the storage when a storage become empty (selfdestruct is ok but we need to check if there are other egdecases)

@non-fungible-nelson non-fungible-nelson added TeamChupa GH issues worked on by Chupacabara Team bonsai mainnet labels Apr 26, 2023
@non-fungible-nelson non-fungible-nelson removed the TeamChupa GH issues worked on by Chupacabara Team label Sep 19, 2023
@macfarla macfarla added this to the 2024 Q1 Besu team milestone Feb 2, 2024
@jflo jflo removed this from the 2024 Q1 Besu team milestone Dec 4, 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

3 participants