Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Ledger.Query.Version
Synopsis
Documentation
data QueryVersion Source #
Version of the `Query blk` type.
Multiple top level queries are now supported. The encoding now has constructor tags for the different top level queries for QueryVersion1 onwards.
Constructors
QueryVersion1 | |
QueryVersion2 |
Instances
nodeToClientVersionToQueryVersion :: NodeToClientVersion -> QueryVersion Source #
Get the
QueryVersion
supported by this
NodeToClientVersion
.