| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.Dijkstra.Block.Endorser
Description
Endorser blocks and references
Documentation
newtype DijkstraEbReferences era Source #
Constructors
| MkDijkstraEbReferences (MemoBytes (DijkstraEbReferencesRaw era)) |
Instances
newtype EbTransactions era Source #
Constructors
| EbTransactions | |
Fields
| |
Instances
| NFData (Tx 'TopTx era) ⇒ NFData (EbTransactions era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Methods rnf ∷ EbTransactions era → () # | |||||
| Generic (EbTransactions era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Associated Types
Methods from ∷ EbTransactions era → Rep (EbTransactions era) x # to ∷ Rep (EbTransactions era) x → EbTransactions era # | |||||
| Show (Tx 'TopTx era) ⇒ Show (EbTransactions era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Methods showsPrec ∷ Int → EbTransactions era → ShowS # show ∷ EbTransactions era → String # showList ∷ [EbTransactions era] → ShowS # | |||||
| Eq (Tx 'TopTx era) ⇒ Eq (EbTransactions era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Methods (==) ∷ EbTransactions era → EbTransactions era → Bool # (/=) ∷ EbTransactions era → EbTransactions era → Bool # | |||||
| NoThunks (Tx 'TopTx era) ⇒ NoThunks (EbTransactions era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser | |||||
| type Rep (EbTransactions era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser type Rep (EbTransactions era) = D1 ('MetaData "EbTransactions" "Cardano.Ledger.Dijkstra.Block.Endorser" "cardano-ledger-dijkstra-0.6.0.0-inplace" 'True) (C1 ('MetaCons "EbTransactions" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEbTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StrictSeq (Tx 'TopTx era))))) | |||||
data DijkstraEndorserBlock era Source #
Constructors
| DijkstraEndorserBlock | |
Fields
| |
Instances
| (NFData (EbReferences era), NFData (Tx 'TopTx era)) ⇒ NFData (DijkstraEndorserBlock era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Methods rnf ∷ DijkstraEndorserBlock era → () # | |||||
| Generic (DijkstraEndorserBlock era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Associated Types
Methods from ∷ DijkstraEndorserBlock era → Rep (DijkstraEndorserBlock era) x # to ∷ Rep (DijkstraEndorserBlock era) x → DijkstraEndorserBlock era # | |||||
| (Show (EbReferences era), Show (Tx 'TopTx era)) ⇒ Show (DijkstraEndorserBlock era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Methods showsPrec ∷ Int → DijkstraEndorserBlock era → ShowS # show ∷ DijkstraEndorserBlock era → String # showList ∷ [DijkstraEndorserBlock era] → ShowS # | |||||
| (Eq (EbReferences era), Eq (Tx 'TopTx era)) ⇒ Eq (DijkstraEndorserBlock era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Methods (==) ∷ DijkstraEndorserBlock era → DijkstraEndorserBlock era → Bool # (/=) ∷ DijkstraEndorserBlock era → DijkstraEndorserBlock era → Bool # | |||||
| (Typeable era, NoThunks (EbReferences era), NoThunks (Tx 'TopTx era)) ⇒ NoThunks (DijkstraEndorserBlock era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser | |||||
| type Rep (DijkstraEndorserBlock era) Source # | |||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser type Rep (DijkstraEndorserBlock era) = D1 ('MetaData "DijkstraEndorserBlock" "Cardano.Ledger.Dijkstra.Block.Endorser" "cardano-ledger-dijkstra-0.6.0.0-inplace" 'False) (C1 ('MetaCons "DijkstraEndorserBlock" 'PrefixI 'True) (S1 ('MetaSel ('Just "debReferences") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (EbReferences era)) :*: S1 ('MetaSel ('Just "debTransactions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (EbTransactions era)))) | |||||
class (EraTx era, Eq (EbReferences era), Show (EbReferences era), NFData (EbReferences era), NoThunks (EbReferences era), EqRaw (EbReferences era), EncCBOR (EbReferences era), ToCBOR (EbReferences era), DecCBOR (Annotator (EbReferences era)), HashAnnotated (EbReferences era) EraIndependentEbReferences) ⇒ EraEndorserBlock era where Source #
Associated Types
type EbReferences era = (r ∷ Type) | r → era Source #
type EndorserBlock era = (r ∷ Type) | r → era Source #
Methods
mkBasicEndorserBlock ∷ EndorserBlock era Source #
mkEbReferences ∷ OMap (SafeHash EraIndependentTx) Word32 → EbReferences era Source #
txRefsEbReferencesG ∷ SimpleGetter (EbReferences era) (OMap (SafeHash EraIndependentTx) Word32) Source #
referencesEndorserBlockL ∷ Lens' (EndorserBlock era) (EbReferences era) Source #
transactionsEndorserBlockL ∷ Lens' (EndorserBlock era) (EbTransactions era) Source #
Instances
| EraEndorserBlock DijkstraEra Source # | |||||||||
Defined in Cardano.Ledger.Dijkstra.Block.Endorser Associated Types
Methods mkBasicEndorserBlock ∷ EndorserBlock DijkstraEra Source # mkEbReferences ∷ OMap (SafeHash EraIndependentTx) Word32 → EbReferences DijkstraEra Source # txRefsEbReferencesG ∷ SimpleGetter (EbReferences DijkstraEra) (OMap (SafeHash EraIndependentTx) Word32) Source # referencesEndorserBlockL ∷ Lens' (EndorserBlock DijkstraEra) (EbReferences DijkstraEra) Source # transactionsEndorserBlockL ∷ Lens' (EndorserBlock DijkstraEra) (EbTransactions DijkstraEra) Source # | |||||||||
pattern EbReferences ∷ EraEndorserBlock era ⇒ OMap (SafeHash EraIndependentTx) Word32 → EbReferences era Source #