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

Merkle-ize X-Chain State #3732

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Merkle-ize X-Chain State #3732

wants to merge 5 commits into from

Conversation

joshua-kim
Copy link
Contributor

Why this should be merged

How this works

How this was tested

Need to be documented in RELEASES.md?

Comment on lines +62 to +68

// Metadata DB Prefixes
dbPrefixMetadata = []byte{0x0}
dbPrefixIndexer = []byte{0x1}

// State DB Prefixes
dbPrefixState = []byte{0x1}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking we'd have two prefixes, one for state and one for non-state. As an alternative, we could just have each db live under their own prefix under the root db instead of sharing a common metadata prefix. I don't see a reason to do/not do one over the other so open to suggestions here

Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
@joshua-kim joshua-kim changed the title X chain merkle db Merkle-ize X-Chain State Feb 20, 2025
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