Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data HotIdentity c = HotIdentity {
- hiIssuer ∷ !(KeyHash BlockIssuer c)
- hiIssueNo ∷ !Word64
- data ShelleyTentativeHeaderState proto = ShelleyTentativeHeaderState !(WithOrigin BlockNo) !(Set (HotIdentity (ProtoCrypto proto)))
- data ShelleyTentativeHeaderView proto = ShelleyTentativeHeaderView BlockNo (HotIdentity (ProtoCrypto proto))
Documentation
data HotIdentity c Source #
Hot block issuer identity for the purpose of Shelley block diffusion pipelining.
HotIdentity | |
|
Instances
data ShelleyTentativeHeaderState proto Source #
ShelleyTentativeHeaderState | |
|
Instances
data ShelleyTentativeHeaderView proto Source #
Instances
ConsensusProtocol proto ⇒ Show (ShelleyTentativeHeaderView proto) Source # | |
Defined in Ouroboros.Consensus.Shelley.Node.DiffusionPipelining showsPrec ∷ Int → ShelleyTentativeHeaderView proto → ShowS # show ∷ ShelleyTentativeHeaderView proto → String # showList ∷ [ShelleyTentativeHeaderView proto] → ShowS # | |
ConsensusProtocol proto ⇒ Eq (ShelleyTentativeHeaderView proto) Source # | |
Defined in Ouroboros.Consensus.Shelley.Node.DiffusionPipelining (==) ∷ ShelleyTentativeHeaderView proto → ShelleyTentativeHeaderView proto → Bool # (/=) ∷ ShelleyTentativeHeaderView proto → ShelleyTentativeHeaderView proto → Bool # |
Orphan instances
(ShelleyCompatible proto era, BlockSupportsProtocol (ShelleyBlock proto era)) ⇒ BlockSupportsDiffusionPipelining (ShelleyBlock proto era) Source # | A header can be pipelined iff no trap header with the same block number and
by the same issuer was pipelined before. See |
type TentativeHeaderState (ShelleyBlock proto era) Source # type TentativeHeaderView (ShelleyBlock proto era) Source # initialTentativeHeaderState ∷ Proxy (ShelleyBlock proto era) → TentativeHeaderState (ShelleyBlock proto era) Source # tentativeHeaderView ∷ BlockConfig (ShelleyBlock proto era) → Header (ShelleyBlock proto era) → TentativeHeaderView (ShelleyBlock proto era) Source # applyTentativeHeaderView ∷ Proxy (ShelleyBlock proto era) → TentativeHeaderView (ShelleyBlock proto era) → TentativeHeaderState (ShelleyBlock proto era) → Maybe (TentativeHeaderState (ShelleyBlock proto era)) Source # |