cardano-protocol-tpraos-0.1.0.0
Safe Haskell None
Language Haskell2010

Cardano.Protocol.TPraos.Rules.Prtcl

Synopsis

Documentation

data PRTCL crypto Source #

Instances

Instances details
( Crypto crypto, DSignable crypto ( OCertSignable crypto), KESignable crypto ( BHBody crypto), VRFSignable crypto Seed ) => STS ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

( Crypto crypto, DSignable crypto ( OCertSignable crypto), KESignable crypto ( BHBody crypto), VRFSignable crypto Seed ) => Embed ( OVERLAY crypto) ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

( Crypto crypto, DSignable crypto ( OCertSignable crypto), KESignable crypto ( BHBody crypto), VRFSignable crypto Seed ) => Embed ( UPDN crypto) ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type State ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type State ( PRTCL crypto) = PrtclState crypto
type Event ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Event ( PRTCL crypto)
type PredicateFailure ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type BaseM ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Environment ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Environment ( PRTCL crypto) = PrtclEnv crypto
type Signal ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Signal ( PRTCL crypto) = BHeader crypto

type family State a Source #

Type of the state which the system transitions between.

Instances

Instances details
type State TICKN Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Tickn

type State ( AlonzoLEDGER era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Ledger

type State ( AlonzoUTXOW era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxow

type State ( AlonzoUTXO era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxo

type State ( UTXOS era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

type State ( AlonzoBBODY era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type State ( BabbageLEDGER era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type State ( BabbageUTXOW era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type State ( BabbageUTXO era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type State ( BabbageUTXOS era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type State ( TICK era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type State ( TICKF era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type State ( NEWEPOCH era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.NewEpoch

type State ( BBODY era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Bbody

type State ( LEDGERS era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type State ( LEDGER era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledger

type State ( DELEGS era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delegs

type State ( DELPL era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delpl

type State ( DELEG era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Deleg

type State ( EPOCH era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type State ( MIR era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Mir

type State ( MIR era) = EpochState era
type State ( UPEC era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Upec

type State ( UPEC era) = UpecState era
type State ( NEWPP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Newpp

type State ( POOL era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Pool

type State ( POOLREAP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.PoolReap

type State ( UTXOW era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

type State ( UTXO era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

type State ( UTXO era) = UTxOState era
type State ( PPUP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type State ( PPUP era) = PPUPState era
type State ( RUPD era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Rupd

type State ( SNAP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type State ( UTXOW era)
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxow

type State ( UTXO era)
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxo

type State ( UTXO era) = UTxOState era
type State ( OCERT crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.OCert

type State ( OVERLAY crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Overlay

type State ( UPDN crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Updn

type State ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type State ( PRTCL crypto) = PrtclState crypto
type State ( STUB e st si f m)
Instance details

Defined in Control.State.Transition.Extended

type State ( STUB e st si f m) = st

data PrtclEnv crypto Source #

data PrtclState crypto Source #

Constructors

PrtclState

Fields

Instances

Instances details
Eq ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Show ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Generic ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Associated Types

type Rep ( PrtclState crypto) :: Type -> Type Source #

Crypto crypto => ToCBOR ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Crypto crypto => FromCBOR ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Crypto crypto => NoThunks ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Rep ( PrtclState crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

data PrtclPredicateFailure crypto Source #

Instances

Instances details
VRFAlgorithm ( VRF crypto) => Eq ( PrtclPredicateFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

VRFAlgorithm ( VRF crypto) => Show ( PrtclPredicateFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Generic ( PrtclPredicateFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Crypto crypto => NoThunks ( PrtclPredicateFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Rep ( PrtclPredicateFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type family PredicateFailure a Source #

Descriptive type for the possible failures which might cause a transition to fail.

As a convention, PredicateFailure s which are "structural" (meaning that they are not "throwable" in practice, and are used to pass control from one transition rule to another) are prefixed with S_ .

Structural PredicateFailure s represent conditions between rules where the disjunction of all rules' preconditions is equal to True . That is, either one rule will throw a structural PredicateFailure and the other will succeed, or vice-versa.

Instances

Instances details
type PredicateFailure TICKN Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Tickn

type PredicateFailure ( AlonzoLEDGER era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Ledger

type PredicateFailure ( AlonzoUTXOW era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxow

type PredicateFailure ( AlonzoUTXO era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxo

type PredicateFailure ( UTXOS era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

type PredicateFailure ( AlonzoBBODY era)
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type PredicateFailure ( BabbageLEDGER era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type PredicateFailure ( BabbageUTXOW era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type PredicateFailure ( BabbageUTXO era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type PredicateFailure ( BabbageUTXOS era)
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type PredicateFailure ( TICK era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type PredicateFailure ( TICKF era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type PredicateFailure ( NEWEPOCH era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.NewEpoch

type PredicateFailure ( BBODY era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Bbody

type PredicateFailure ( LEDGERS era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type PredicateFailure ( LEDGER era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledger

type PredicateFailure ( DELEGS era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delegs

type PredicateFailure ( DELPL era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delpl

type PredicateFailure ( DELEG era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Deleg

type PredicateFailure ( EPOCH era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type PredicateFailure ( MIR era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Mir

type PredicateFailure ( UPEC era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Upec

type PredicateFailure ( NEWPP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Newpp

type PredicateFailure ( POOL era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Pool

type PredicateFailure ( POOLREAP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.PoolReap

type PredicateFailure ( UTXOW era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

type PredicateFailure ( UTXO era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

type PredicateFailure ( PPUP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type PredicateFailure ( RUPD era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Rupd

type PredicateFailure ( SNAP era)
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type PredicateFailure ( UTXOW era)
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxow

type PredicateFailure ( UTXO era)
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxo

type PredicateFailure ( OCERT crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.OCert

type PredicateFailure ( OVERLAY crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Overlay

type PredicateFailure ( UPDN crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Updn

type PredicateFailure ( PRTCL crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type PredicateFailure ( STUB e st si f m)
Instance details

Defined in Control.State.Transition.Extended

type PredicateFailure ( STUB e st si f m) = f

data PrtlSeqFailure crypto Source #

Constructors

WrongSlotIntervalPrtclSeq

Fields

WrongBlockNoPrtclSeq

Fields

WrongBlockSequencePrtclSeq

Fields

Instances

Instances details
Eq ( PrtlSeqFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Show ( PrtlSeqFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Generic ( PrtlSeqFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Associated Types

type Rep ( PrtlSeqFailure crypto) :: Type -> Type Source #

Crypto crypto => NoThunks ( PrtlSeqFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

type Rep ( PrtlSeqFailure crypto) Source #
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl