-
Notifications
You must be signed in to change notification settings - Fork 114
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
Filter out minor block headers with larger create time #780
Conversation
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.
root_state.validate_block will fail line 1274
quarkchain/cluster/master.py
Outdated
@@ -1270,6 +1270,7 @@ def handle_new_root_block_header(self, header, peer): | |||
self.root_state.write_committing_hash(r_block.header.get_hash()) | |||
|
|||
adjusted_diff = await self.__adjust_diff(r_block) | |||
|
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.
will remove in the next commit (if any).
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.
remove it!
Solve https://github.com/QuarkChain/quarkchain-dev/issues/383