cardano-ledger-byron-0.1.0.0: The blockchain layer of Cardano during the Byron era
Safe Haskell None
Language Haskell2010

Cardano.Chain.Update.Validation.Endorsement

Synopsis

Documentation

data Endorsement Source #

Instances

Instances details
Eq Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Ord Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Show Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Generic Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

NFData Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

ToCBOR Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

FromCBOR Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

NoThunks Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

type Rep Endorsement Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

type Rep Endorsement = D1 (' MetaData "Endorsement" "Cardano.Chain.Update.Validation.Endorsement" "cardano-ledger-byron-0.1.0.0-1U5kXR8zMRrE7QjCz70XVD" ' False ) ( C1 (' MetaCons "Endorsement" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "endorsementProtocolVersion") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ProtocolVersion ) :*: S1 (' MetaSel (' Just "endorsementKeyHash") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 KeyHash )))

data CandidateProtocolUpdate Source #

Constructors

CandidateProtocolUpdate

Fields

Instances

Instances details
Eq CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Show CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Generic CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

NFData CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

ToCBOR CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

FromCBOR CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

NoThunks CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

type Rep CandidateProtocolUpdate Source #
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

type Rep CandidateProtocolUpdate = D1 (' MetaData "CandidateProtocolUpdate" "Cardano.Chain.Update.Validation.Endorsement" "cardano-ledger-byron-0.1.0.0-1U5kXR8zMRrE7QjCz70XVD" ' False ) ( C1 (' MetaCons "CandidateProtocolUpdate" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "cpuSlot") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 SlotNumber ) :*: ( S1 (' MetaSel (' Just "cpuProtocolVersion") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ProtocolVersion ) :*: S1 (' MetaSel (' Just "cpuProtocolParameters") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ProtocolParameters ))))

register :: MonadError Error m => Environment -> State -> Endorsement -> m State Source #

Register an endorsement.

This corresponds to the UPEND rule.