cardano-node-8.8.1: The cardano full node
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Node.Queries

Synopsis

Documentation

class ConvertTxId blk where Source #

Convert a transaction ID to raw bytes.

Instances

Instances details
ConvertTxId ByronBlock Source # 
Instance details

Defined in Cardano.Node.Queries

All ConvertTxId xs => ConvertTxId (HardForkBlock xs) Source # 
Instance details

Defined in Cardano.Node.Queries

ConvertTxId (ShelleyBlock protocol c) Source # 
Instance details

Defined in Cardano.Node.Queries

KES

newtype MaxKESEvolutions Source #

The maximum number of evolutions that a KES key can undergo before it is considered expired.

Constructors

MaxKESEvolutions Word64 

newtype OperationalCertStartKESPeriod Source #

The start KES period of the configured operational certificate.

class GetKESInfo blk where Source #

Minimal complete definition

Nothing

class HasKESInfo blk where Source #

Minimal complete definition

Nothing

Instances

Instances details
HasKESInfo ByronBlock Source # 
Instance details

Defined in Cardano.Node.Queries

All HasKESInfo xs => HasKESInfo (HardForkBlock xs) Source # 
Instance details

Defined in Cardano.Node.Queries

HasKESInfo (ShelleyBlock protocol era) Source # 
Instance details

Defined in Cardano.Node.Queries

Methods

getKESInfo :: Proxy (ShelleyBlock protocol era) -> ForgeStateUpdateError (ShelleyBlock protocol era) -> Maybe KESInfo Source #

data KESMetricsData Source #

KES-related data to be traced as metrics.

Constructors

NoKESMetricsData

The current protocol does not support KES.

TPraosKESMetricsData 

Fields

class HasKESMetricsData blk where Source #

Minimal complete definition

Nothing

General ledger

Node kernel

Re-exports

data NodeKernel (m :: Type -> Type) addrNTN addrNTC blk Source #

Interface against running relay node

Constructors

NodeKernel 

Fields

data StrictMaybe a Source #

Constructors

SNothing 
SJust !a 

Instances

Instances details
MonadFail StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

fail :: String -> StrictMaybe a Source #

Foldable StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

fold :: Monoid m => StrictMaybe m -> m Source #

foldMap :: Monoid 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 #

toList :: StrictMaybe a -> [a] Source #

null :: StrictMaybe a -> Bool Source #

length :: StrictMaybe a -> Int Source #

elem :: Eq a => a -> StrictMaybe a -> Bool Source #

maximum :: Ord a => StrictMaybe a -> a Source #

minimum :: Ord a => StrictMaybe a -> a Source #

sum :: Num a => StrictMaybe a -> a Source #

product :: Num a => StrictMaybe a -> a Source #

Traversable StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

traverse :: Applicative f => (a -> f b) -> StrictMaybe a -> f (StrictMaybe b) Source #

sequenceA :: Applicative f => StrictMaybe (f a) -> f (StrictMaybe a) Source #

mapM :: Monad m => (a -> m b) -> StrictMaybe a -> m (StrictMaybe b) Source #

sequence :: Monad m => StrictMaybe (m a) -> m (StrictMaybe a) Source #

Alternative StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Applicative StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Functor StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

Methods

fmap :: (a -> b) -> StrictMaybe a -> StrictMaybe b Source #

(<$) :: a -> StrictMaybe b -> StrictMaybe a Source #

Monad StrictMaybe 
Instance details

Defined in Data.Maybe.Strict

HKDFunctor StrictMaybe 
Instance details

Defined in Cardano.Ledger.HKD

FromJSON a => FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

ToJSON a => ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSON :: StrictMaybe a -> Value #

toEncoding :: StrictMaybe a -> Encoding #

toJSONList :: [StrictMaybe a] -> Value #

toEncodingList :: [StrictMaybe a] -> Encoding #

omitField :: StrictMaybe a -> Bool #

Semigroup a => Monoid (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Semigroup a => Semigroup (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) :: Type -> Type Source #

Show (UpgradeConwayPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

showsPrec :: Int -> UpgradeConwayPParams StrictMaybe -> ShowS Source #

show :: UpgradeConwayPParams StrictMaybe -> String Source #

showList :: [UpgradeConwayPParams StrictMaybe] -> ShowS Source #

Show a => Show (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

FromCBOR a => FromCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

ToCBOR a => ToCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toCBOR :: StrictMaybe a -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (StrictMaybe a) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [StrictMaybe a] -> Size Source #

DecCBOR a => DecCBOR (StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

EncCBOR a => EncCBOR (StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBOR :: StrictMaybe a -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (StrictMaybe a) -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [StrictMaybe a] -> Size Source #

Default (UpgradeAlonzoPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

def :: UpgradeAlonzoPParams StrictMaybe Source #

Default (UpgradeConwayPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

def :: UpgradeConwayPParams StrictMaybe Source #

Default (StrictMaybe t) 
Instance details

Defined in Data.Maybe.Strict

Methods

def :: StrictMaybe t Source #

NFData (UpgradeConwayPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

rnf :: UpgradeConwayPParams StrictMaybe -> () Source #

NFData a => NFData (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

rnf :: StrictMaybe a -> () Source #

Eq (UpgradeConwayPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

(==) :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Bool Source #

(/=) :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Bool Source #

Eq a => Eq (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Ord (UpgradeConwayPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

compare :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Ordering Source #

(<) :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Bool Source #

(<=) :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Bool Source #

(>) :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Bool Source #

(>=) :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> Bool Source #

max :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe Source #

min :: UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe -> UpgradeConwayPParams StrictMaybe Source #

Ord a => Ord (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

NoThunks (UpgradeConwayPParams StrictMaybe) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

noThunks :: Context -> UpgradeConwayPParams StrictMaybe -> IO (Maybe ThunkInfo) Source #

wNoThunks :: Context -> UpgradeConwayPParams StrictMaybe -> IO (Maybe ThunkInfo) Source #

showTypeOf :: Proxy (UpgradeConwayPParams StrictMaybe) -> String Source #

NoThunks a => NoThunks (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Crypto c => ToJSON (AlonzoPParams StrictMaybe (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toJSON :: AlonzoPParams StrictMaybe (AlonzoEra c) -> Value #

toEncoding :: AlonzoPParams StrictMaybe (AlonzoEra c) -> Encoding #

toJSONList :: [AlonzoPParams StrictMaybe (AlonzoEra c)] -> Value #

toEncodingList :: [AlonzoPParams StrictMaybe (AlonzoEra c)] -> Encoding #

omitField :: AlonzoPParams StrictMaybe (AlonzoEra c) -> Bool #

(PParamsHKD StrictMaybe era ~ BabbagePParams StrictMaybe era, BabbageEraPParams era, ProtVerAtMost era 8) => ToJSON (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

toJSON :: BabbagePParams StrictMaybe era -> Value #

toEncoding :: BabbagePParams StrictMaybe era -> Encoding #

toJSONList :: [BabbagePParams StrictMaybe era] -> Value #

toEncodingList :: [BabbagePParams StrictMaybe era] -> Encoding #

omitField :: BabbagePParams StrictMaybe era -> Bool #

(ConwayEraPParams era, PParamsHKD StrictMaybe era ~ ConwayPParams StrictMaybe era) => ToJSON (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: ConwayPParams StrictMaybe era -> Value #

toEncoding :: ConwayPParams StrictMaybe era -> Encoding #

toJSONList :: [ConwayPParams StrictMaybe era] -> Value #

toEncodingList :: [ConwayPParams StrictMaybe era] -> Encoding #

omitField :: ConwayPParams StrictMaybe era -> Bool #

(EraPParams era, PParamsHKD StrictMaybe era ~ ShelleyPParams StrictMaybe era, ProtVerAtMost era 4, ProtVerAtMost era 6, ProtVerAtMost era 8) => ToJSON (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON :: ShelleyPParams StrictMaybe era -> Value #

toEncoding :: ShelleyPParams StrictMaybe era -> Encoding #

toJSONList :: [ShelleyPParams StrictMaybe era] -> Value #

toEncodingList :: [ShelleyPParams StrictMaybe era] -> Encoding #

omitField :: ShelleyPParams StrictMaybe era -> Bool #

Show (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

showsPrec :: Int -> AlonzoPParams StrictMaybe era -> ShowS Source #

show :: AlonzoPParams StrictMaybe era -> String Source #

showList :: [AlonzoPParams StrictMaybe era] -> ShowS Source #

Show (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

showsPrec :: Int -> BabbagePParams StrictMaybe era -> ShowS Source #

show :: BabbagePParams StrictMaybe era -> String Source #

showList :: [BabbagePParams StrictMaybe era] -> ShowS Source #

Show (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

showsPrec :: Int -> ConwayPParams StrictMaybe era -> ShowS Source #

show :: ConwayPParams StrictMaybe era -> String Source #

showList :: [ConwayPParams StrictMaybe era] -> ShowS Source #

Show (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

showsPrec :: Int -> ShelleyPParams StrictMaybe era -> ShowS Source #

show :: ShelleyPParams StrictMaybe era -> String Source #

showList :: [ShelleyPParams StrictMaybe era] -> ShowS Source #

Era era => FromCBOR (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

fromCBOR :: Decoder s (AlonzoPParams StrictMaybe era) Source #

label :: Proxy (AlonzoPParams StrictMaybe era) -> Text Source #

Era era => FromCBOR (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

fromCBOR :: Decoder s (BabbagePParams StrictMaybe era) Source #

label :: Proxy (BabbagePParams StrictMaybe era) -> Text Source #

Era era => FromCBOR (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

fromCBOR :: Decoder s (ConwayPParams StrictMaybe era) Source #

label :: Proxy (ConwayPParams StrictMaybe era) -> Text Source #

Era era => FromCBOR (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR :: Decoder s (ShelleyPParams StrictMaybe era) Source #

label :: Proxy (ShelleyPParams StrictMaybe era) -> Text Source #

Era era => ToCBOR (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toCBOR :: AlonzoPParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoPParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoPParams StrictMaybe era] -> Size Source #

Era era => ToCBOR (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

toCBOR :: BabbagePParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbagePParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbagePParams StrictMaybe era] -> Size Source #

Era era => ToCBOR (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toCBOR :: ConwayPParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ConwayPParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ConwayPParams StrictMaybe era] -> Size Source #

Era era => ToCBOR (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR :: ShelleyPParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyPParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyPParams StrictMaybe era] -> Size Source #

Era era => DecCBOR (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

decCBOR :: Decoder s (AlonzoPParams StrictMaybe era) Source #

dropCBOR :: Proxy (AlonzoPParams StrictMaybe era) -> Decoder s () Source #

label :: Proxy (AlonzoPParams StrictMaybe era) -> Text Source #

Era era => DecCBOR (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

decCBOR :: Decoder s (BabbagePParams StrictMaybe era) Source #

dropCBOR :: Proxy (BabbagePParams StrictMaybe era) -> Decoder s () Source #

label :: Proxy (BabbagePParams StrictMaybe era) -> Text Source #

Era era => DecCBOR (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

decCBOR :: Decoder s (ConwayPParams StrictMaybe era) Source #

dropCBOR :: Proxy (ConwayPParams StrictMaybe era) -> Decoder s () Source #

label :: Proxy (ConwayPParams StrictMaybe era) -> Text Source #

Era era => DecCBOR (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

decCBOR :: Decoder s (ShelleyPParams StrictMaybe era) Source #

dropCBOR :: Proxy (ShelleyPParams StrictMaybe era) -> Decoder s () Source #

label :: Proxy (ShelleyPParams StrictMaybe era) -> Text Source #

Era era => EncCBOR (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

encCBOR :: AlonzoPParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (AlonzoPParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [AlonzoPParams StrictMaybe era] -> Size Source #

Era era => EncCBOR (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

encCBOR :: BabbagePParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (BabbagePParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [BabbagePParams StrictMaybe era] -> Size Source #

Era era => EncCBOR (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

encCBOR :: ConwayPParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (ConwayPParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [ConwayPParams StrictMaybe era] -> Size Source #

Era era => EncCBOR (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

encCBOR :: ShelleyPParams StrictMaybe era -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (ShelleyPParams StrictMaybe era) -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [ShelleyPParams StrictMaybe era] -> Size Source #

NFData (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

rnf :: AlonzoPParams StrictMaybe era -> () Source #

NFData (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

rnf :: BabbagePParams StrictMaybe era -> () Source #

NFData (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

rnf :: ConwayPParams StrictMaybe era -> () Source #

NFData (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

rnf :: ShelleyPParams StrictMaybe era -> () Source #

Eq (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

(==) :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Bool Source #

(/=) :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Bool Source #

Eq (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

(==) :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Bool Source #

(/=) :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Bool Source #

Eq (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

(==) :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Bool Source #

(/=) :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Bool Source #

Eq (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

(==) :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Bool Source #

(/=) :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Bool Source #

Ord (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

compare :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Ordering Source #

(<) :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Bool Source #

(<=) :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Bool Source #

(>) :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Bool Source #

(>=) :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> Bool Source #

max :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era Source #

min :: AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era -> AlonzoPParams StrictMaybe era Source #

Ord (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

compare :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Ordering Source #

(<) :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Bool Source #

(<=) :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Bool Source #

(>) :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Bool Source #

(>=) :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> Bool Source #

max :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era Source #

min :: BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era -> BabbagePParams StrictMaybe era Source #

Ord (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

compare :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Ordering Source #

(<) :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Bool Source #

(<=) :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Bool Source #

(>) :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Bool Source #

(>=) :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> Bool Source #

max :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era Source #

min :: ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era -> ConwayPParams StrictMaybe era Source #

Ord (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

compare :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Ordering Source #

(<) :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Bool Source #

(<=) :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Bool Source #

(>) :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Bool Source #

(>=) :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> Bool Source #

max :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era Source #

min :: ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era -> ShelleyPParams StrictMaybe era Source #

NoThunks (AlonzoPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

noThunks :: Context -> AlonzoPParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

wNoThunks :: Context -> AlonzoPParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

showTypeOf :: Proxy (AlonzoPParams StrictMaybe era) -> String Source #

NoThunks (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

noThunks :: Context -> BabbagePParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

wNoThunks :: Context -> BabbagePParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

showTypeOf :: Proxy (BabbagePParams StrictMaybe era) -> String Source #

NoThunks (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

noThunks :: Context -> ConwayPParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

wNoThunks :: Context -> ConwayPParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

showTypeOf :: Proxy (ConwayPParams StrictMaybe era) -> String Source #

NoThunks (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

noThunks :: Context -> ShelleyPParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

wNoThunks :: Context -> ShelleyPParams StrictMaybe era -> IO (Maybe ThunkInfo) Source #

showTypeOf :: Proxy (ShelleyPParams StrictMaybe era) -> String Source #

(Typeable t, FromJSON a) => FromJSON (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

parseJSON :: Value -> Parser (THKD t StrictMaybe a) #

parseJSONList :: Value -> Parser [THKD t StrictMaybe a] #

omittedField :: Maybe (THKD t StrictMaybe a) #

(Typeable t, ToJSON a) => ToJSON (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: THKD t StrictMaybe a -> Value #

toEncoding :: THKD t StrictMaybe a -> Encoding #

toJSONList :: [THKD t StrictMaybe a] -> Value #

toEncodingList :: [THKD t StrictMaybe a] -> Encoding #

omitField :: THKD t StrictMaybe a -> Bool #

(Typeable t, DecCBOR a) => DecCBOR (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

decCBOR :: Decoder s (THKD t StrictMaybe a) Source #

dropCBOR :: Proxy (THKD t StrictMaybe a) -> Decoder s () Source #

label :: Proxy (THKD t StrictMaybe a) -> Text Source #

(Typeable t, EncCBOR a) => EncCBOR (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

encCBOR :: THKD t StrictMaybe a -> Encoding Source #

encodedSizeExpr :: (forall t0. EncCBOR t0 => Proxy t0 -> Size) -> Proxy (THKD t StrictMaybe a) -> Size Source #

encodedListSizeExpr :: (forall t0. EncCBOR t0 => Proxy t0 -> Size) -> Proxy [THKD t StrictMaybe a] -> Size Source #

Updatable (K1 t x a) (K1 t (StrictMaybe x) u) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

applyUpdate :: K1 t x a -> K1 t (StrictMaybe x) u -> K1 t x a

type Rep (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

type Rep (StrictMaybe a) = D1 ('MetaData "StrictMaybe" "Data.Maybe.Strict" "cardano-strict-containers-0.1.3.0-86c2IVFj8yvJB1TAEwUmlH" 'False) (C1 ('MetaCons "SNothing" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SJust" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))

fromSMaybe :: a -> StrictMaybe a -> a Source #

Same as fromMaybe