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 review of merged PRs #3408

Merged
merged 10 commits into from
Oct 7, 2021
Merged

P2P review of merged PRs #3408

merged 10 commits into from
Oct 7, 2021

Conversation

coot
Copy link
Contributor

@coot coot commented Oct 5, 2021

  • snocket: move bang patterns to the top of the recursive call
  • snocket: fixed some typos
  • snocket: remote path for local sockets
  • handshake: renamed MsgProposeVersions' as MsgReplyVersions
  • handshake: test that acceptOrRefuse is symmetric
  • handshake: fixed some typos
  • handshake: implement more properties
  • handshake: updated documentation

@coot coot force-pushed the coot/snocket-review branch 2 times, most recently from 9b71104 to de9fc93 Compare October 5, 2021 14:44
For local socket set remote address as `<addr>@<cnt>` where `<addr>` is
the local socket path and cnt is an integer.  Unfortunately, this
require to make `accept` return an `IO` action.  For Berkeley sockets we
need to get the name of the listening socket.
Apply them to:
* acceptable property test
* acceptOrRefuse property test

They should be used in other tests as well: issue #3406.
Copy link
Contributor

@bolt12 bolt12 left a comment

Choose a reason for hiding this comment

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

LGTM
Edit: Noticed now that this is supposed to be reviewed in group today.

* renamed `MsgProposeVersions'` to `MsgReplyVersions`
* elaborate on the handshake version negotiation properties
* elaborate on non-injective encoding
@coot
Copy link
Contributor Author

coot commented Oct 7, 2021

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 7, 2021

@iohk-bors iohk-bors bot merged commit c834f35 into master Oct 7, 2021
@iohk-bors iohk-bors bot deleted the coot/snocket-review branch October 7, 2021 11:34
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