-
Notifications
You must be signed in to change notification settings - Fork 39
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
produce and execute blocks on thread pool #1646
Conversation
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
411f326
to
68c0bd9
Compare
Signed-off-by: turuslan <turuslan.devbox@gmail.com> # Conflicts: # core/consensus/babe/impl/babe_impl.cpp # core/consensus/babe/impl/block_executor_impl.cpp # test/core/consensus/babe/block_executor_test.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope all affected resources are thread-safe.
@@ -186,6 +199,19 @@ namespace kagome::consensus::babe { | |||
clock::SystemClock::TimePoint slot_timestamp, | |||
std::optional<std::reference_wrapper<const crypto::VRFOutput>> output, | |||
primitives::AuthorityIndex authority_index); | |||
/** | |||
* `processSlotLeadership` coroutine piece |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be confusing because it's not actually a coroutine, I'd rather that you describe it in the comment the way it is.
Referenced issues
Description of the Change
Benefits
Possible Drawbacks