cardano-node-1.30.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Tracing.Kernel

Contents

Synopsis

Documentation

nkQueryLedger ∷ IsLedger (LedgerState blk) ⇒ (ExtLedgerState blk → a) → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a Source #

nkQueryChain ∷ (AnchoredFragment (Header blk) → a) → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a Source #

Re-exports

data NodeKernel (m ∷ TypeType) remotePeer localPeer blk #

Constructors

NodeKernel 

Fields

type LocalConnectionId = ConnectionId LocalAddress #

type RemoteConnectionId = ConnectionId RemoteAddress #

data StrictMaybe a #

Constructors

SNothing 
SJust !a 

Instances

Instances details
Monad StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

(>>=)StrictMaybe a → (a → StrictMaybe b) → StrictMaybe b Source #

(>>)StrictMaybe a → StrictMaybe b → StrictMaybe b Source #

return ∷ a → StrictMaybe a Source #

Functor StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

fmap ∷ (a → b) → StrictMaybe a → StrictMaybe b Source #

(<$) ∷ a → StrictMaybe b → StrictMaybe a Source #

MonadFail StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

failStringStrictMaybe a Source #

Applicative StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

pure ∷ a → StrictMaybe a Source #

(<*>)StrictMaybe (a → b) → StrictMaybe a → StrictMaybe b Source #

liftA2 ∷ (a → b → c) → StrictMaybe a → StrictMaybe b → StrictMaybe c Source #

(*>)StrictMaybe a → StrictMaybe b → StrictMaybe b Source #

(<*)StrictMaybe a → StrictMaybe b → StrictMaybe a Source #

Foldable StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

foldMonoid m ⇒ StrictMaybe m → m Source #

foldMapMonoid m ⇒ (a → m) → StrictMaybe a → m Source #

foldMap'Monoid m ⇒ (a → m) → StrictMaybe a → m Source #

foldr ∷ (a → b → b) → b → StrictMaybe a → b Source #

foldr' ∷ (a → b → b) → b → StrictMaybe a → b Source #

foldl ∷ (b → a → b) → b → StrictMaybe a → b Source #

foldl' ∷ (b → a → b) → b → StrictMaybe a → b Source #

foldr1 ∷ (a → a → a) → StrictMaybe a → a Source #

foldl1 ∷ (a → a → a) → StrictMaybe a → a Source #

toListStrictMaybe a → [a] Source #

nullStrictMaybe a → Bool Source #

lengthStrictMaybe a → Int Source #

elemEq a ⇒ a → StrictMaybe a → Bool Source #

maximumOrd a ⇒ StrictMaybe a → a Source #

minimumOrd a ⇒ StrictMaybe a → a Source #

sumNum a ⇒ StrictMaybe a → a Source #

productNum a ⇒ StrictMaybe a → a Source #

Traversable StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

traverseApplicative f ⇒ (a → f b) → StrictMaybe a → f (StrictMaybe b) Source #

sequenceAApplicative f ⇒ StrictMaybe (f a) → f (StrictMaybe a) Source #

mapMMonad m ⇒ (a → m b) → StrictMaybe a → m (StrictMaybe b) Source #

sequenceMonad m ⇒ StrictMaybe (m a) → m (StrictMaybe a) Source #

Crypto era ~ crypto ⇒ HasField "adHash" (TxBody era) (StrictMaybe (AuxiliaryDataHash crypto)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (AuxiliaryDataHash crypto) Source #

c ~ Crypto era ⇒ HasField "adHash" (TxBody era) (StrictMaybe (AuxiliaryDataHash c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (AuxiliaryDataHash c) Source #

Crypto era ~ crypto ⇒ HasField "adHash" (TxBody era) (StrictMaybe (AuxiliaryDataHash crypto)) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (AuxiliaryDataHash crypto) Source #

aux ~ AuxiliaryData era ⇒ HasField "auxiliaryData" (Tx era) (StrictMaybe aux) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Methods

getField ∷ Tx era → StrictMaybe aux Source #

c ~ Crypto era ⇒ HasField "datahash" (TxOut era) (StrictMaybe (DataHash c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

getField ∷ TxOut era → StrictMaybe (DataHash c) Source #

c ~ Crypto era ⇒ HasField "scriptIntegrityHash" (TxBody era) (StrictMaybe (ScriptIntegrityHash c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (ScriptIntegrityHash c) Source #

HasField "txnetworkid" (TxBody era) (StrictMaybe Network) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

getField ∷ TxBody era → StrictMaybe Network Source #

HasField "update" (TxBody era) (StrictMaybe (Update era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (Update era) Source #

HasField "update" (TxBody era) (StrictMaybe (Update era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (Update era) Source #

HasField "update" (TxBody era) (StrictMaybe (Update era)) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (Update era) Source #

c ~ Crypto era ⇒ HasField "wppHash" (TxBody era) (StrictMaybe (ScriptIntegrityHash c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

getField ∷ TxBody era → StrictMaybe (ScriptIntegrityHash c) Source #

Eq a ⇒ Eq (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Ord a ⇒ Ord (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Show a ⇒ Show (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Generic (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Associated Types

type Rep (StrictMaybe a) ∷ TypeType Source #

Methods

fromStrictMaybe a → Rep (StrictMaybe a) x Source #

toRep (StrictMaybe a) x → StrictMaybe a Source #

NFData a ⇒ NFData (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

rnfStrictMaybe a → () Source #

Era era ⇒ ToCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR ∷ PParamsUpdate era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PParamsUpdate era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PParamsUpdate era] → Size #

Era era ⇒ ToCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toCBOR ∷ PParamsUpdate era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PParamsUpdate era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PParamsUpdate era] → Size #

ToCBOR a ⇒ ToCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toCBORStrictMaybe a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (StrictMaybe a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [StrictMaybe a] → Size #

Era era ⇒ FromCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR ∷ Decoder s (PParamsUpdate era) #

labelProxy (PParamsUpdate era) → Text #

Era era ⇒ FromCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

fromCBOR ∷ Decoder s (PParamsUpdate era) #

labelProxy (PParamsUpdate era) → Text #

FromCBOR a ⇒ FromCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

fromCBOR ∷ Decoder s (StrictMaybe a) #

labelProxy (StrictMaybe a) → Text #

ToJSON a ⇒ ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSONStrictMaybe a → Value #

toEncodingStrictMaybe a → Encoding #

toJSONList ∷ [StrictMaybe a] → Value #

toEncodingList ∷ [StrictMaybe a] → Encoding #

FromJSON a ⇒ FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

parseJSON ∷ Value → Parser (StrictMaybe a) #

parseJSONList ∷ Value → Parser [StrictMaybe a] #

NoThunks (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

noThunks ∷ Context → PParamsUpdate era → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → PParamsUpdate era → IO (Maybe ThunkInfo)

showTypeOfProxy (PParamsUpdate era) → String

NoThunks (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

noThunks ∷ Context → PParamsUpdate era → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → PParamsUpdate era → IO (Maybe ThunkInfo)

showTypeOfProxy (PParamsUpdate era) → String

NoThunks a ⇒ NoThunks (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

noThunks ∷ Context → StrictMaybe a → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → StrictMaybe a → IO (Maybe ThunkInfo)

showTypeOfProxy (StrictMaybe a) → String

Default (StrictMaybe t) 
Instance details

Defined in Data.Maybe.Strict

Methods

defStrictMaybe t

Eq (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

(==) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(/=) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

Eq (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

(==) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(/=) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

Ord (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

compare ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Ordering Source #

(<) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(<=) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(>) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(>=) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

max ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → PParams' StrictMaybe era Source #

min ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → PParams' StrictMaybe era Source #

Ord (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

compare ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Ordering Source #

(<) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(<=) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(>) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

(>=) ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → Bool Source #

max ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → PParams' StrictMaybe era Source #

min ∷ PParams' StrictMaybe era → PParams' StrictMaybe era → PParams' StrictMaybe era Source #

Show (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

showsPrecInt → PParams' StrictMaybe era → ShowS Source #

show ∷ PParams' StrictMaybe era → String Source #

showList ∷ [PParams' StrictMaybe era] → ShowS Source #

Show (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

showsPrecInt → PParams' StrictMaybe era → ShowS Source #

show ∷ PParams' StrictMaybe era → String Source #

showList ∷ [PParams' StrictMaybe era] → ShowS Source #

NFData (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

rnf ∷ PParams' StrictMaybe era → () Source #

NFData (PParams' StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

rnf ∷ PParams' StrictMaybe era → () Source #

type Rep (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

type Rep (StrictMaybe a) = D1 ('MetaData "StrictMaybe" "Data.Maybe.Strict" "strict-containers-0.1.0.0-087993cf19d1cf297f746ff7fe9e3497c2e9280eb110a1cf538609aa71165ddb" 'False) (C1 ('MetaCons "SNothing" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "SJust" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))

fromSMaybe ∷ a → StrictMaybe a → a #