Merged
Conversation
Benchmark resultsInstruction countsSignificant differencesClick to expand
Other differencesClick to expand
Wall-timeSignificant differencesThere are no significant wall-time differences Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2509 +/- ##
==========================================
+ Coverage 95.29% 95.31% +0.01%
==========================================
Files 97 97
Lines 21470 21509 +39
==========================================
+ Hits 20460 20501 +41
+ Misses 1010 1008 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
djc
approved these changes
Jun 20, 2025
caa112f to
b5eb9ed
Compare
djc
approved these changes
Jun 20, 2025
b5eb9ed to
d0b3433
Compare
cpu
approved these changes
Jun 21, 2025
a63cb5d to
a0523f1
Compare
This happens above, and yields the `PeerIncompatible::UncompressedEcPointsRequired` error. This second one is unreachable.
d0b3433 to
8410541
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead, where possible, extract just the information we need during encoding.
"Where possible" -- specifically where the vector only encodes a peers capabilities rather than its preferences. This is true for both of these extensions, but for things like
signature_schemesa different approach (that also retains the preference) would be needed.This reduces some complexity, but the main goal is reducing the size of the extensions struct:
sizeof(Option<Vec<PskKeyExchangeMode>>)is 24 bytes, butsizeof(Option<PskKeyExchangeModes>)is 2 bytes.This follows on from #2508 and #2502.