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

core,eth,tests,trie: abstract node scheme, and contruct database #578

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

huyngopt1994
Copy link
Collaborator

@huyngopt1994 huyngopt1994 commented Sep 18, 2024

interface instead of keyvalue for supporting storing diff reverse data in ancient

Reference ethereum/go-ethereum#25532

Base automatically changed from implement-freezer-tail-deletion to path-base-implementing September 19, 2024 10:12
interface instead of keyvalue for supporting storing diff reverse data
in ancient
@huyngopt1994 huyngopt1994 changed the title [WIP] core,eth,tests,trie: abstract node scheme, and contruct database core,eth,tests,trie: abstract node scheme, and contruct database Sep 24, 2024
…efix of nodes when commits, use ethdb.Database for constructing trie.Database, it's not necessary right now, but it's required for path-based used to open reverse diff freezer
trie/sync.go Show resolved Hide resolved
trie/stacktrie.go Show resolved Hide resolved
core/blockchain.go Show resolved Hide resolved
@huyngopt1994 huyngopt1994 merged commit 5e601cf into path-base-implementing Sep 25, 2024
1 check passed
@huyngopt1994
Copy link
Collaborator Author

I will make a commit for enabling logic test tests/fuzzers/stacktrie/trie_fuzzer.go in tracked delete nodes PR.

@huyngopt1994 huyngopt1994 deleted the implement-abstract-node-scheme branch September 25, 2024 07:54
huyngopt1994 added a commit that referenced this pull request Oct 25, 2024
* core,eth,tests,trie: abstract node scheme, and contruct database
interface instead of keyvalue for supporting storing diff reverse data
in ancient

* stacktrie,core,eth: port the changes in stacktries, track the path prefix of nodes when commits,  use ethdb.Database for constructing trie.Database, it's not necessary right now, but it's required for path-based used to open reverse diff freezer

* core,trie: add scheme and resolvepath logic
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.

2 participants