| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.HardFork.Combinator.State.Instances
Synopsis
- encodeCurrent :: (f blk -> Encoding) -> Current f blk -> Encoding
- decodeCurrent :: Decoder s (f blk) -> Decoder s (Current f blk)
- encodePast :: Past -> Encoding
- decodePast :: Decoder s Past
Serialisation support
encodePast :: Past -> Encoding Source #
decodePast :: Decoder s Past Source #