Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data HotIdentity c = HotIdentity {
- hiIssuer ∷ !(KeyHash BlockIssuer c)
- hiIssueNo ∷ !Word64
- data ShelleyTentativeHeaderState proto
- = LegacyShelleyTentativeHeaderState !(SelectViewTentativeState proto)
- | ShelleyTentativeHeaderState !(WithOrigin BlockNo) !(Set (HotIdentity (ProtoCrypto proto)))
- data ShelleyTentativeHeaderView proto
- = LegacyShelleyTentativeHeaderView (SelectView 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 #
LegacyShelleyTentativeHeaderState !(SelectViewTentativeState proto) | Legacy state, can be removed once mainnet is in Conway. |
ShelleyTentativeHeaderState | |
|
Instances
data ShelleyTentativeHeaderView proto Source #
LegacyShelleyTentativeHeaderView (SelectView proto) | Legacy state, can be removed once mainnet is in Conway. |
ShelleyTentativeHeaderView BlockNo (HotIdentity (ProtoCrypto proto)) |
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 # | This is currently a hybrid instance:
Once mainnet has transitioned to Conway, we can remove the pre-Conway logic here. |
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 # |