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-2.x] StateHeight start from -1 #1658

Merged
merged 3 commits into from
May 22, 2020

Conversation

ZhangTao1596
Copy link

@ZhangTao1596 ZhangTao1596 commented May 20, 2020

Since we need cn to confirm StateRoot of genesis block, StateHeight can't start at 0 as default.
This will stop node sync StateRoot with 0 index.
@shargon

@shargon
Copy link
Member

shargon commented May 22, 2020

Could you create a new HashIndexState only for long?

@ZhangTao1596 ZhangTao1596 force-pushed the fix-neox-2.x-stateheight branch from da8ddf6 to 1dbfb93 Compare May 22, 2020 07:56
@shargon shargon merged commit 919962b into neo-project:neox-2.x May 22, 2020
@ZhangTao1596 ZhangTao1596 deleted the fix-neox-2.x-stateheight branch June 12, 2020 03:52
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