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

Add header back #2259

Merged
merged 107 commits into from
Feb 3, 2021
Merged

Add header back #2259

merged 107 commits into from
Feb 3, 2021

Conversation

Qiao-Jin
Copy link
Contributor

@Qiao-Jin Qiao-Jin commented Jan 22, 2021

Partially reverse #1397

@Qiao-Jin Qiao-Jin marked this pull request as ready for review January 25, 2021 08:26
@Qiao-Jin
Copy link
Contributor Author

@erikzhang @shargon Could you have a look at this?

@shargon
Copy link
Member

shargon commented Jan 25, 2021

Should be able to switch between modes (index/headers) by configuration?

@erikzhang
Copy link
Member

Should be able to switch between modes (index/headers) by configuration?

I think headers and index do not conflict. We can synchronize headers first, and then synchronize blocks by index.

@vncoelho
Copy link
Member

Why to return with it?

@cloud8little
Copy link
Contributor

Tested failed with memory store, consensus not work:

8db7bb9e71c1650ab268d5d9ce4ef89

5191760b4e01d15aef27389e6e10950

@Qiao-Jin
Copy link
Contributor Author

Tested failed with memory store, consensus not work:

Fixed

@erikzhang
Copy link
Member

The code looks good now.

@Qiao-Jin
Copy link
Contributor Author

Qiao-Jin commented Feb 2, 2021

@erikzhang Please have a check

@cloud8little
Copy link
Contributor

Test commit: 9d8057b

It works and the sync time is acceptable.

e7d3ff1a0959166f7c8aefd5bd190dc

Co-authored-by: Erik Zhang <erik@neo.org>
@Qiao-Jin
Copy link
Contributor Author

Qiao-Jin commented Feb 3, 2021

@ProDog Could you have one more test?

@ProDog
Copy link
Contributor

ProDog commented Feb 3, 2021

Block time interval 10ms, it works good.
image

@erikzhang erikzhang merged commit 9340b30 into neo-project:master Feb 3, 2021
roman-khimov added a commit to nspcc-dev/neo-go that referenced this pull request Feb 5, 2021
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.

8 participants