Skip to content

Make Tendermint height not to be changed even though best block is not changed #1789

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

Merged
merged 2 commits into from
Sep 23, 2019

Conversation

majecty
Copy link
Contributor

@majecty majecty commented Sep 23, 2019

No description provided.

new_blocks was called when the block verification queue is empty. The
purpose of the behavior is not clear. Maybe it was used to
backpressure for block sync extension. Since we have another block
sync flow control and tendermint assumes that new_blocks is always
called, this commit changed the behavior of new_blocks to be always called.
@majecty majecty added the bug Something isn't working label Sep 23, 2019
@majecty majecty changed the title Fix a bug that Tendermint height is changed even though best block is not changed Make Tendermint height not to be changed even though best block is not changed Sep 23, 2019
@majecty majecty merged commit fa71203 into CodeChain-io:master Sep 23, 2019
@majecty majecty deleted the f/commit branch September 23, 2019 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants