berty / go-orbit-db

Go version of P2P Database on IPFS
https://berty.tech
Apache License 2.0
405 stars 55 forks source link

fix: head exchange #87

Closed D4ryl00 closed 2 years ago

D4ryl00 commented 2 years ago

When a peer has just been connected and has a head list ahead, it cannot exchange its head list with other already connected peers.

Fix

codecov[bot] commented 2 years ago

Codecov Report

Merging #87 (ae96707) into master (eefbdde) will increase coverage by 0.27%. The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   63.10%   63.37%   +0.27%     
==========================================
  Files          31       31              
  Lines        2290     2318      +28     
==========================================
+ Hits         1445     1469      +24     
- Misses        601      604       +3     
- Partials      244      245       +1     
Flag Coverage Δ
unittests 63.37% <83.33%> (+0.27%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
baseorbitdb/orbitdb.go 68.85% <55.55%> (-0.30%) :arrow_down:
pubsub/directchannel/channel.go 71.01% <66.66%> (-0.42%) :arrow_down:
events/events.go 85.13% <100.00%> (-0.06%) :arrow_down:
stores/basestore/base_store.go 64.72% <0.00%> (+0.76%) :arrow_up:

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 eefbdde...ae96707. Read the comment docs.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.14.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: