Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Byron.Ledger.PBFT
Contents
Description
Instances required to support PBFT
Synopsis
- decodeByronChainDepState :: Decoder s (ChainDepState (BlockProtocol ByronBlock))
- encodeByronChainDepState :: ChainDepState (BlockProtocol ByronBlock) -> Encoding
- fromPBftLedgerView :: PBftLedgerView PBftByronCrypto -> Map
- mkByronContextDSIGN :: BlockConfig ByronBlock -> VerKeyDSIGN ByronDSIGN -> ContextDSIGN ByronDSIGN
- toPBftLedgerView :: Map -> PBftLedgerView PBftByronCrypto
Documentation
decodeByronChainDepState :: Decoder s (ChainDepState (BlockProtocol ByronBlock)) Source #
encodeByronChainDepState :: ChainDepState (BlockProtocol ByronBlock) -> Encoding Source #
fromPBftLedgerView :: PBftLedgerView PBftByronCrypto -> Map Source #
mkByronContextDSIGN :: BlockConfig ByronBlock -> VerKeyDSIGN ByronDSIGN -> ContextDSIGN ByronDSIGN Source #
Construct DSIGN required for Byron crypto
toPBftLedgerView :: Map -> PBftLedgerView PBftByronCrypto Source #
Orphan instances
BlockSupportsProtocol ByronBlock Source # | |
Methods validateView :: BlockConfig ByronBlock -> Header ByronBlock -> ValidateView (BlockProtocol ByronBlock) selectView :: BlockConfig ByronBlock -> Header ByronBlock -> SelectView (BlockProtocol ByronBlock) |