ouroboros-consensus-diffusion-0.18.0.0: Integration for the Ouroboros Network layer
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.ThreadNet.Util.NodeToNodeVersion

Synopsis

Documentation

newestVersionSupportedNetworkProtocolVersion 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.