ouroboros-consensus-test-0.1.0.0: Tests of the consensus layer
Safe HaskellNone
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.