Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NodeToNodeVersion
-
data
NodeToNodeVersionData
=
NodeToNodeVersionData
{
- networkMagic :: ! NetworkMagic
- diffusionMode :: ! DiffusionMode
- data DiffusionMode
- data ConnectionMode
- nodeToNodeVersionCodec :: CodecCBORTerm ( Text , Maybe Int ) NodeToNodeVersion
- nodeToNodeCodecCBORTerm :: NodeToNodeVersion -> CodecCBORTerm Text NodeToNodeVersionData
- isPipeliningEnabled :: NodeToNodeVersion -> Bool
Documentation
data NodeToNodeVersion Source #
Enumeration of node to node protocol versions.
NodeToNodeV_7 |
Changes:
|
NodeToNodeV_8 |
Changes:
|
NodeToNodeV_9 |
Changes:
|
NodeToNodeV_10 |
Changes:
|
Instances
data NodeToNodeVersionData Source #
Version data for NodeToNode protocol
Instances
data DiffusionMode Source #
The flag which indicates wheather the node runs only initiator or both
initiator or responder node. It does not however specify weather the node
is using duplex connections, this is implicit see
NodeToNodeV_4
Instances
Eq DiffusionMode Source # | |
Defined in Ouroboros.Network.NodeToNode.Version (==) :: DiffusionMode -> DiffusionMode -> Bool Source # (/=) :: DiffusionMode -> DiffusionMode -> Bool Source # |
|
Show DiffusionMode Source # | |
Defined in Ouroboros.Network.NodeToNode.Version |
Feature checks
isPipeliningEnabled :: NodeToNodeVersion -> Bool Source #
Check whether a version enabling diffusion pipelining has been negotiated.