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

Correct CV jumps #61

Merged
merged 2 commits into from
Jun 29, 2022
Merged

Correct CV jumps #61

merged 2 commits into from
Jun 29, 2022

Conversation

roman-khimov
Copy link
Member

No description provided.

Consider a case of rebooted node with others at view == 2. It will receive a
recovery message with CVs from view 1 (changing to view 2) and consider these
messages to be too new to be processed, so it will be stuck at view 0 even
though there is a complete set of CVs from view 1 allowing us to jump to view
2 directly. That's what C# node will do in this case and we should too.
@codecov
Copy link

codecov bot commented Jun 29, 2022

Codecov Report

Merging #61 (4184678) into master (d27f629) will increase coverage by 0.03%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
+ Coverage   73.98%   74.02%   +0.03%     
==========================================
  Files          24       24              
  Lines        1303     1305       +2     
==========================================
+ Hits          964      966       +2     
  Misses        284      284              
  Partials       55       55              
Impacted Files Coverage Δ
dbft.go 67.68% <75.00%> (+0.18%) ⬆️

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 d27f629...4184678. Read the comment docs.

dbft.go Show resolved Hide resolved
@roman-khimov roman-khimov merged commit fd49ca5 into master Jun 29, 2022
@roman-khimov roman-khimov deleted the correct-cv-jumps branch June 29, 2022 11:27
roman-khimov added a commit to nspcc-dev/neo-go that referenced this pull request Jun 29, 2022
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.

3 participants