| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Convex.NodeClient.Types
Contents
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
type ClientBlock = BlockInMode CardanoMode Source #
Arguments
| ∷ 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 #
Constructors
| ChainPointAtGenesis | |
| ChainPoint !SlotNo !(Hash BlockHeader) |
Instances
| FromJSON ChainPoint | |
Defined in Cardano.Api.Block Methods parseJSON ∷ Value → Parser ChainPoint Source # parseJSONList ∷ Value → Parser [ChainPoint] Source # | |
| ToJSON ChainPoint | |
Defined in Cardano.Api.Block Methods 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 | |
| Ord ChainPoint | |
Defined in Cardano.Api.Block Methods 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 # | |