Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- genVersion ∷ SupportedNetworkProtocolVersion blk ⇒ Proxy blk → Gen (NodeToNodeVersion, BlockNodeToNodeVersion blk)
- genVersionFiltered ∷ SupportedNetworkProtocolVersion blk ⇒ (BlockNodeToNodeVersion blk → Bool) → Proxy blk → Gen (NodeToNodeVersion, BlockNodeToNodeVersion blk)
- newestVersion ∷ SupportedNetworkProtocolVersion blk ⇒ Proxy blk → (NodeToNodeVersion, BlockNodeToNodeVersion blk)
Documentation
genVersion ∷ SupportedNetworkProtocolVersion blk ⇒ Proxy blk → Gen (NodeToNodeVersion, BlockNodeToNodeVersion blk) Source #
genVersionFiltered ∷ SupportedNetworkProtocolVersion blk ⇒ (BlockNodeToNodeVersion blk → Bool) → Proxy blk → Gen (NodeToNodeVersion, BlockNodeToNodeVersion blk) Source #
newestVersion ∷ SupportedNetworkProtocolVersion blk ⇒ Proxy blk → (NodeToNodeVersion, BlockNodeToNodeVersion blk) Source #
Return the newest version, i.e., the version with the highest
NodeToNodeVersion
. This can be used when you don't care about the
versioning of a block.