ouroboros-network:api
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.PeerSelection.PeerSharing.Codec

Synopsis

Documentation

encodeRemoteAddress :: version -> SockAddr -> Encoding Source #

This encoder should be faithful to the PeerSharing CDDL Specification.

See the network design document for more details

decodeRemoteAddress :: version -> Decoder s SockAddr Source #

This decoder should be faithful to the PeerSharing CDDL Specification.

See the network design document for more details