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

Feature : Improve the libp2p synchronization speed #42

Open
Wawa1996 opened this issue May 30, 2021 · 2 comments
Open

Feature : Improve the libp2p synchronization speed #42

Wawa1996 opened this issue May 30, 2021 · 2 comments
Assignees
Labels
feature Develop new features

Comments

@Wawa1996
Copy link
Collaborator

Improve the synchronization speed, modify the synchronization protocol

@Wawa1996 Wawa1996 added the feature Develop new features label May 30, 2021
@Wawa1996
Copy link
Collaborator Author

Wawa1996 commented Jun 1, 2021

How to find a common ancestor?
Determine the number of blocks that need to be synchronized in the mining pool through a high degree, and keep up with the latest global state by packing a certain number of blocks each time

@Wawa1996
Copy link
Collaborator Author

Wawa1996 commented Jun 1, 2021

How to deal with the new block received by the synchronizing mining pool?
Find the parent block by hashing, and there is no parent block of the newly generated block in the synchronizing mining pool. Therefore, the newly generated block is stored in the memory without processing until the synchronized mining pool is updated to the latest state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Develop new features
Projects
None yet
Development

No branches or pull requests

1 participant