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

[neox] persistence #1720

Closed
wants to merge 61 commits into from

Conversation

ZhangTao1596
Copy link
Contributor

Change #1692 to neox.

mpt integration (Step 2/4)

  • Add LocalStateRoot in persistence to store every local root hash when block persisted completed.
  • Add ValidatorsStateRoot to store the latest confirmed state root with cn signatures.
  • Use MPT in Storages

We use the latest StateRoot from cn to verify local state no matter historical state roots are.

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.

None yet

1 participant