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

Parallel GRANDPA #1517

Merged
merged 14 commits into from
May 2, 2023
Merged

Parallel GRANDPA #1517

merged 14 commits into from
May 2, 2023

Conversation

iceseer
Copy link
Contributor

@iceseer iceseer commented Mar 10, 2023

Description of the Change

  1. GRANDPA moved to separate thread
  2. Block Tree become thread-safe
  3. Grandpa context become simple structure.
  4. JustifiactionStoragePolicy doesn't depend on block_tree.
  5. minor changes

@iceseer iceseer force-pushed the feature/parallel_grandpa branch from 04086a2 to 844693e Compare March 12, 2023 12:47
@iceseer iceseer marked this pull request as ready for review March 16, 2023 06:55
@igor-egorov igor-egorov self-requested a review March 21, 2023 07:42
@iceseer iceseer force-pushed the feature/parallel_grandpa branch from 33319a8 to a9619d8 Compare March 24, 2023 07:14
@iceseer iceseer requested review from turuslan and xDimon March 24, 2023 07:14
@iceseer iceseer force-pushed the feature/parallel_grandpa branch from a9619d8 to e2c04ba Compare March 24, 2023 07:16
core/consensus/grandpa/grandpa_context.hpp Outdated Show resolved Hide resolved
core/utils/thread_pool.hpp Outdated Show resolved Hide resolved
core/utils/thread_pool.hpp Outdated Show resolved Hide resolved
core/blockchain/impl/block_tree_impl.hpp Show resolved Hide resolved
core/injector/application_injector.cpp Outdated Show resolved Hide resolved
test/core/consensus/babe/block_executor_test.cpp Outdated Show resolved Hide resolved
test/mock/core/consensus/grandpa/environment_mock.hpp Outdated Show resolved Hide resolved
test/mock/core/consensus/grandpa/grandpa_mock.hpp Outdated Show resolved Hide resolved
test/mock/core/consensus/grandpa/voting_round_mock.hpp Outdated Show resolved Hide resolved
Signed-off-by: iceseer <iceseer@gmail.com>
@iceseer iceseer force-pushed the feature/parallel_grandpa branch from 64176e3 to 616c457 Compare April 23, 2023 14:06
Signed-off-by: iceseer <iceseer@gmail.com>
@iceseer iceseer requested review from xDimon and turuslan April 23, 2023 14:09
iceseer added 4 commits April 24, 2023 12:15
Signed-off-by: iceseer <iceseer@gmail.com>
…andpa

Signed-off-by: iceseer <iceseer@gmail.com>

# Conflicts:
#	core/blockchain/impl/block_tree_impl.cpp
#	core/consensus/grandpa/impl/grandpa_impl.cpp
#	core/consensus/grandpa/justification_observer.hpp
#	core/injector/application_injector.cpp
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Copy link
Contributor

@turuslan turuslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warp sync loop

Signed-off-by: iceseer <iceseer@gmail.com>
@igor-egorov igor-egorov removed their request for review April 28, 2023 08:33
iceseer added 3 commits April 30, 2023 14:24
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
iceseer added 3 commits April 30, 2023 16:54
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
@iceseer iceseer enabled auto-merge (squash) May 2, 2023 07:30
@iceseer iceseer merged commit d4c3ac9 into master May 2, 2023
@iceseer iceseer deleted the feature/parallel_grandpa branch May 2, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants