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
|
Instances
newtype NodeToClientVersionData Source #
Version data for NodeToClient protocol v1
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.