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

Demand block hashes from branch point #905

Merged

Conversation

earlbread
Copy link
Contributor

This fixes a bug that did not properly receive block hashes after the chain has reorged.

@earlbread earlbread self-assigned this Jun 11, 2020
@codecov
Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #905 into 0.9-maintenance will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@                 Coverage Diff                 @@
##           0.9-maintenance     #905      +/-   ##
===================================================
+ Coverage            87.66%   87.68%   +0.02%     
===================================================
  Files                  251      251              
  Lines                22767    22808      +41     
===================================================
+ Hits                 19958    20000      +42     
  Misses                1463     1463              
+ Partials              1346     1345       -1     
Impacted Files Coverage Δ
Libplanet.Tests/Net/SwarmTest.Preload.cs 99.29% <100.00%> (+0.02%) ⬆️
Libplanet/Net/Swarm.cs 85.69% <100.00%> (+0.26%) ⬆️
Libplanet/FixedSizedQueue.cs 81.25% <0.00%> (-18.75%) ⬇️
Libplanet/Net/Protocols/KademliaProtocol.cs 64.63% <0.00%> (-0.39%) ⬇️
Libplanet.Tests/Net/Protocols/TestTransport.cs 77.30% <0.00%> (+0.61%) ⬆️
Libplanet/Crypto/PrivateKey.cs 86.20% <0.00%> (+0.86%) ⬆️

CHANGES.md Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
Libplanet/Net/Swarm.cs Outdated Show resolved Hide resolved
Libplanet/Net/Swarm.cs Outdated Show resolved Hide resolved
longfin
longfin previously approved these changes Jun 12, 2020
@riemannulus riemannulus self-requested a review June 12, 2020 02:06
riemannulus
riemannulus previously approved these changes Jun 12, 2020
dahlia
dahlia previously approved these changes Jun 12, 2020
CHANGES.md Outdated Show resolved Hide resolved
Co-authored-by: Hong Minhee (洪 民憙) <hong.minhee@gmail.com>
@earlbread earlbread merged commit f4c1068 into planetarium:0.9-maintenance Jun 12, 2020
@earlbread earlbread deleted the fix-demand-block-hashes branch June 12, 2020 05:23
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.

5 participants