Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype PipelinedLedgerStateClient = PipelinedLedgerStateClient {}
- type ClientBlock = BlockInMode CardanoMode
- runNodeClient ∷ FilePath → FilePath → (LocalNodeConnectInfo CardanoMode → Env → IO PipelinedLedgerStateClient) → ExceptT InitialLedgerStateError IO ()
- protocols ∷ PipelinedLedgerStateClient → LocalNodeClientProtocolsInMode CardanoMode
- data ChainPoint
- fromChainTip ∷ ChainTip → WithOrigin BlockNo
Documentation
newtype PipelinedLedgerStateClient Source #
type ClientBlock = BlockInMode CardanoMode Source #
∷ FilePath | Path to the cardano-node config file (e.g. to cardano-node projectconfigurationcardano/mainnet-config.json) |
→ FilePath | Path to local cardano-node socket. This is the path specified by the |
→ (LocalNodeConnectInfo CardanoMode → Env → IO PipelinedLedgerStateClient) | Client |
→ ExceptT InitialLedgerStateError IO () | Final state |
Sync points
data ChainPoint Source #
Instances
FromJSON ChainPoint | |
Defined in Cardano.Api.Block parseJSON ∷ Value → Parser ChainPoint Source # parseJSONList ∷ Value → Parser [ChainPoint] Source # | |
ToJSON ChainPoint | |
Defined in Cardano.Api.Block toJSON ∷ ChainPoint → Value Source # toEncoding ∷ ChainPoint → Encoding Source # toJSONList ∷ [ChainPoint] → Value Source # toEncodingList ∷ [ChainPoint] → Encoding Source # | |
Show ChainPoint | |
Defined in Cardano.Api.Block | |
Eq ChainPoint | |
Defined in Cardano.Api.Block (==) ∷ ChainPoint → ChainPoint → Bool Source # (/=) ∷ ChainPoint → ChainPoint → Bool Source # | |
Ord ChainPoint | |
Defined in Cardano.Api.Block compare ∷ ChainPoint → ChainPoint → Ordering Source # (<) ∷ ChainPoint → ChainPoint → Bool Source # (<=) ∷ ChainPoint → ChainPoint → Bool Source # (>) ∷ ChainPoint → ChainPoint → Bool Source # (>=) ∷ ChainPoint → ChainPoint → Bool Source # max ∷ ChainPoint → ChainPoint → ChainPoint Source # min ∷ ChainPoint → ChainPoint → ChainPoint Source # |