-
Notifications
You must be signed in to change notification settings - Fork 41
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
gs1.1 peer exchange #100
gs1.1 peer exchange #100
Conversation
9addb17
to
b1826de
Compare
Codecov Report
@@ Coverage Diff @@
## gsv1.1 #100 +/- ##
==========================================
+ Coverage 75.93% 81.81% +5.88%
==========================================
Files 22 1 -21
Lines 1342 11 -1331
==========================================
- Hits 1019 9 -1010
+ Misses 323 2 -321 Continue to review full report at Codecov.
|
3d2b194
to
d951717
Compare
d951717
to
1b840ea
Compare
@vasco-santos This is ready for re-review. Codecov is giving an ❌ but we'll tackle the tests in another PR (in progress 😃) |
Implements https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#prune-backoff-and-peer-exchange
Follows go-libp2p-pubsub implementation closely
Depends on libp2p/js-libp2p#683
As noted in a comment there, we now require the
libp2p
repo as a full-fledged dependency, due to needing toopenAndCertify
the raw envelope.