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

Consensus fixes 2.x neox #1041

Merged
merged 2 commits into from
Jun 10, 2020
Merged

Consensus fixes 2.x neox #1041

merged 2 commits into from
Jun 10, 2020

Conversation

roman-khimov
Copy link
Member

Update dbft and fix recovery message processing.

Using view number from the recovery message is just plain wrong, it's gonna be
higher than our current view and these messages will be treated as coming from
the future, even though they have their original view number included.
Include logging updates and LastSeenMessages fix.
@roman-khimov roman-khimov added the consensus dBFT consensus label Jun 10, 2020
@roman-khimov roman-khimov added this to the v0.75.1-neox1 milestone Jun 10, 2020
@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #1041 into neox-2.x will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           neox-2.x    #1041      +/-   ##
============================================
- Coverage     68.10%   68.09%   -0.02%     
============================================
  Files           158      158              
  Lines         15337    15338       +1     
============================================
- Hits          10446    10444       -2     
- Misses         4384     4387       +3     
  Partials        507      507              
Impacted Files Coverage Δ
pkg/consensus/recovery_message.go 84.43% <100.00%> (+0.09%) ⬆️
pkg/rpc/client/wsclient.go 84.35% <0.00%> (-1.37%) ⬇️
pkg/core/mpt/trie.go 92.43% <0.00%> (-0.43%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76f71ab...37173bc. Read the comment docs.

@roman-khimov roman-khimov merged commit c13ca8d into neox-2.x Jun 10, 2020
@roman-khimov roman-khimov deleted the consensus-fixes-2.x-neox branch June 10, 2020 09:07
@roman-khimov roman-khimov modified the milestones: v0.75.1-neox1, v0.76.0 Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus dBFT consensus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants