Skip to content

By default sort network addrs before inclusion in node_announcements #910

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

Merged
merged 1 commit into from
May 6, 2021

Conversation

TheBlueMatt
Copy link
Collaborator

In #797, we stopped enforcing that read/sent node_announcements
had their addresses sorted. While this is fine in practice, we
should still make a best-effort to sort them to comply with the
spec's forward-compatibility requirements, which we do here in the
ChannelManager.

In  lightningdevkit#797, we stopped enforcing that read/sent node_announcements
had their addresses sorted. While this is fine in practice, we
should still make a best-effort to sort them to comply with the
spec's forward-compatibility requirements, which we do here in the
ChannelManager.
@TheBlueMatt TheBlueMatt force-pushed the 2021-05-sort-addrs branch from d49b990 to 37fe22f Compare May 5, 2021 00:22
@codecov
Copy link

codecov bot commented May 5, 2021

Codecov Report

Merging #910 (37fe22f) into main (c60543c) will decrease coverage by 0.03%.
The diff coverage is 22.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #910      +/-   ##
==========================================
- Coverage   90.57%   90.54%   -0.04%     
==========================================
  Files          59       59              
  Lines       29738    29746       +8     
==========================================
- Hits        26936    26933       -3     
- Misses       2802     2813      +11     
Impacted Files Coverage Δ
lightning/src/ln/msgs.rs 88.28% <0.00%> (-0.48%) ⬇️
lightning/src/ln/channelmanager.rs 83.97% <100.00%> (+<0.01%) ⬆️
lightning/src/ln/functional_tests.rs 96.95% <0.00%> (-0.07%) ⬇️

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 c60543c...37fe22f. Read the comment docs.

Copy link

@ariard ariard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 37fe22f

@TheBlueMatt TheBlueMatt merged commit c9b12e1 into lightningdevkit:main May 6, 2021
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.

3 participants