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

trie: add trie db wrapper; refactor trienode #588

Open
wants to merge 4 commits into
base: path-base-implementing
Choose a base branch
from

Conversation

Francesco4203
Copy link
Collaborator

@Francesco4203 Francesco4203 commented Sep 27, 2024

References: ethereum/go-ethereum#27160; ethereum/go-ethereum#27176

Changes:

  • Add wrapper for database since later, we will have another database for path-based. Note that the common features such as cache, preimage,... are in the wrapper interface.
  • Move nodeset to trienode/node
  • Adjust tests: add scheme to tests for later testing on path-based
  • Remove callback in db.Commit() since it is not used (ref all: port changes from pbss PR ethereum/go-ethereum#26637)

@Francesco4203 Francesco4203 changed the title [WIP] trie: refactor db & trienode trie: add trie db wrapper; refactor trienode Sep 27, 2024
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