-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fix Peer Sharing issue #4642 #4644
Merged
Merged
Conversation
This file contains 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
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
August 17, 2023 10:15
f9e9ab7
to
1c81439
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
2 times, most recently
from
September 4, 2023 13:13
8ed5dbc
to
12d0e25
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
2 times, most recently
from
September 18, 2023 14:19
c7e9e85
to
7003b2a
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
September 18, 2023 15:00
7003b2a
to
da8df7f
Compare
Is this PR ready for review? |
Yes! |
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
September 25, 2023 13:19
6d89f63
to
853fa9b
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
2 times, most recently
from
September 26, 2023 11:51
1878384
to
66cbbb9
Compare
bolt12
commented
Sep 28, 2023
ouroboros-network/src/Ouroboros/Network/PeerSelection/PeerStateActions.hs
Outdated
Show resolved
Hide resolved
coot
requested changes
Sep 28, 2023
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-framework/src/Ouroboros/Network/ConnectionManager/Core.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/testlib/Ouroboros/Network/Protocol/Handshake/Test.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/testlib/Ouroboros/Network/Protocol/Handshake/Test.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-framework/src/Ouroboros/Network/Protocol/Handshake/Unversioned.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing.hs
Outdated
Show resolved
Hide resolved
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 2, 2023 10:38
b2b914d
to
84317e9
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 3, 2023 13:36
84317e9
to
4127255
Compare
coot
requested changes
Oct 4, 2023
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/src/Ouroboros/Network/PeerSelection/Governor/KnownPeers.hs
Outdated
Show resolved
Hide resolved
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 6, 2023 09:38
4127255
to
eb3d770
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
3 times, most recently
from
October 11, 2023 10:30
4666ef6
to
7e73302
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 12, 2023 15:30
7e73302
to
58f261f
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 23, 2023 09:18
58f261f
to
3b2eb01
Compare
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 27, 2023 11:07
3b2eb01
to
bdd7d06
Compare
coot
reviewed
Oct 27, 2023
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
coot
requested changes
Oct 27, 2023
ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing/Codec.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-framework/src/Ouroboros/Network/ConnectionManager/Core.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/testlib/Ouroboros/Network/Protocol/Handshake/Test.hs
Show resolved
Hide resolved
ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing.hs
Outdated
Show resolved
Hide resolved
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
3 times, most recently
from
October 27, 2023 15:34
e3b9ea9
to
c2c4db8
Compare
- Remove `PeerSharingPrivate` option and renamed others to `PeerSharingDisabled` and `PeerSharingEnabled` - Add test to check that the bug is fixed - Add new `NodeToNodeV_13` - Renamed spec files and added V13 CDDL handshake and `NodeToNodeVersionData` specs
bolt12
force-pushed
the
bolt12/fix-peerSharing-handshake
branch
from
October 30, 2023 11:17
c2c4db8
to
50bab68
Compare
karknu
reviewed
Oct 31, 2023
coot
reviewed
Oct 31, 2023
coot
approved these changes
Oct 31, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a few minor remarks.
ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing/Codec.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/sim-tests-lib/Test/Ouroboros/Network/Diffusion/Node.hs
Outdated
Show resolved
Hide resolved
github-merge-queue bot
pushed a commit
to IntersectMBO/ouroboros-consensus
that referenced
this pull request
Nov 13, 2023
# Description This PR accommodates changes from IntersectMBO/ouroboros-network#4644.
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.
Fixes #4642 by simplifying the
PeerSharing
options, i.e. removesPeerSharingPrivate
making the handshake negotiation symmetric.I also updated the wiki page to keep track of these changes on the design docs: https://github.com/input-output-hk/ouroboros-network/wiki/Peer-Sharing-Implementation-Plan#post-implementation-notes