Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data NodeToClientVersion Source #
Enumeration of node to client protocol versions.
NodeToClientV_9 | enabled |
NodeToClientV_10 | added |
NodeToClientV_11 | added |
NodeToClientV_12 | added |
NodeToClientV_13 | enabled |
NodeToClientV_14 | added |
NodeToClientV_15 | added |
NodeToClientV_16 | added |
NodeToClientV_17 | added |
NodeToClientV_18 | added |
Instances
data NodeToClientVersionData Source #
Version data for NodeToClient protocol v1
Instances
Show NodeToClientVersionData Source # | |
Defined in Ouroboros.Network.NodeToClient.Version showsPrec :: Int -> NodeToClientVersionData -> ShowS # show :: NodeToClientVersionData -> String # showList :: [NodeToClientVersionData] -> ShowS # | |
Eq NodeToClientVersionData Source # | |
Defined in Ouroboros.Network.NodeToClient.Version | |
Acceptable NodeToClientVersionData Source # | |
Queryable NodeToClientVersionData Source # | |
Defined in Ouroboros.Network.NodeToClient.Version |
nodeToClientCodecCBORTerm :: NodeToClientVersion -> CodecCBORTerm Text NodeToClientVersionData Source #
nodeToClientVersionCodec :: CodecCBORTerm (Text, Maybe Int) NodeToClientVersion Source #
We set 16ths bit to distinguish NodeToNodeVersion
and
NodeToClientVersion
. This way connecting wrong protocol suite will fail
during Handshake
negotiation
This is done in backward compatible way, so NodeToClientV_1
encoding is not
changed.