Skip to content

Add header back#2259

Merged
erikzhang merged 107 commits intoneo-project:masterfrom
Qiao-Jin:add_header
Feb 3, 2021
Merged

Add header back#2259
erikzhang merged 107 commits intoneo-project:masterfrom
Qiao-Jin:add_header

Conversation

@Qiao-Jin
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@shargon
Copy link
Copy Markdown
Member

shargon commented Jan 25, 2021

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

@erikzhang
Copy link
Copy Markdown
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
Copy Markdown
Member

Why to return with it?

@cloud8little
Copy link
Copy Markdown
Contributor

Tested failed with memory store, consensus not work:

8db7bb9e71c1650ab268d5d9ce4ef89

5191760b4e01d15aef27389e6e10950

@Qiao-Jin
Copy link
Copy Markdown
Contributor Author

Tested failed with memory store, consensus not work:

Fixed

Qiao Jin added 2 commits January 26, 2021 16:41
@erikzhang
Copy link
Copy Markdown
Member

The code looks good now.

@Qiao-Jin
Copy link
Copy Markdown
Contributor Author

Qiao-Jin commented Feb 2, 2021

@erikzhang Please have a check

@cloud8little
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Qiao-Jin commented Feb 3, 2021

@ProDog Could you have one more test?

@ProDog
Copy link
Copy Markdown
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