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

feat: separate manual-seal #1151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregdhill
Copy link
Member

Closes #1140

Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Comment on lines +750 to +751
// combine so we can still seal blocks manually
Box::new(futures::stream_select!(commands_stream, import_stream))
Copy link
Member Author

Choose a reason for hiding this comment

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

Just noting that other projects (such as moonbeam) don't allow manual-seal as well as instant-seal.

@sander2
Copy link
Member

sander2 commented Jul 31, 2023

Why do we want manual seal at all?

@gregdhill
Copy link
Member Author

It could be useful when the tester wants to include multiple transactions in a block, since instant-seal would mine when a single transaction is received this wouldn't be possible.

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.

Support manual-seal
2 participants