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

p2p: add support for delimited wire protocol upgrades #1885

Merged
merged 3 commits into from
Mar 15, 2023

Conversation

corverroos
Copy link
Contributor

@corverroos corverroos commented Mar 15, 2023

This adds support for wire protocols to upgrade to length delimited wire messages while still supporting current undelimited messages. This allows a smooth upgrade migration.

Note this hasn't been used yet. Will do that in subsequent PRs.

category: feature
ticket: #1884

@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Patch coverage: 58.09% and project coverage change: +0.10 🎉

Comparison is base (36512d8) 55.46% compared to head (80768e6) 55.56%.

❗ Current head 80768e6 differs from pull request most recent head bdc069e. Consider uploading reports for the commit bdc069e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1885      +/-   ##
==========================================
+ Coverage   55.46%   55.56%   +0.10%     
==========================================
  Files         169      169              
  Lines       21880    21911      +31     
==========================================
+ Hits        12135    12175      +40     
+ Misses       8191     8180      -11     
- Partials     1554     1556       +2     
Impacted Files Coverage Δ
p2p/metrics.go 0.00% <ø> (ø)
p2p/receive.go 60.34% <48.00%> (+12.72%) ⬆️
p2p/sender.go 68.18% <61.25%> (+6.03%) ⬆️

... and 4 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Mar 15, 2023
@obol-bulldozer obol-bulldozer bot merged commit bdb9772 into main Mar 15, 2023
@obol-bulldozer obol-bulldozer bot deleted the corver/delimitproto branch March 15, 2023 13:16
obol-bulldozer bot pushed a commit that referenced this pull request Mar 16, 2023
Enables delimited versions of all libp2p protocols.

category: feature
ticket: #1885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants