Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ChainIndexEffects m = '[ChainIndexControlEffect, ChainIndexQueryEffect, State ChainIndexEmulatorState, LogMsg ChainIndexLog, Error ChainIndexError, m]
- newtype ChainIndexUrl = ChainIndexUrl BaseUrl
- newtype ChainIndexConfig = ChainIndexConfig {}
- defaultChainIndexConfig :: ChainIndexConfig
- data ChainIndexServerMsg
- = StartingNodeClientThread
- | StartingChainIndex Int
- | ReceivedBlocksTxns Int Int
- | ChainEvent ChainIndexLog
- type ChainIndexTrace = Trace IO ChainIndexServerMsg
Documentation
type ChainIndexEffects m = '[ChainIndexControlEffect, ChainIndexQueryEffect, State ChainIndexEmulatorState, LogMsg ChainIndexLog, Error ChainIndexError, m] Source #
newtype ChainIndexUrl Source #
ChainIndexUrl BaseUrl |
Instances
Eq ChainIndexUrl Source # | |
Defined in Cardano.ChainIndex.Types (==) :: ChainIndexUrl -> ChainIndexUrl -> Bool Source # (/=) :: ChainIndexUrl -> ChainIndexUrl -> Bool Source # | |
Show ChainIndexUrl Source # | |
Defined in Cardano.ChainIndex.Types | |
FromJSON ChainIndexUrl Source # | |
Defined in Cardano.ChainIndex.Types parseJSON :: Value -> Parser ChainIndexUrl parseJSONList :: Value -> Parser [ChainIndexUrl] | |
ToJSON ChainIndexUrl Source # | |
Defined in Cardano.ChainIndex.Types toJSON :: ChainIndexUrl -> Value toEncoding :: ChainIndexUrl -> Encoding toJSONList :: [ChainIndexUrl] -> Value toEncodingList :: [ChainIndexUrl] -> Encoding |
newtype ChainIndexConfig Source #
Instances
data ChainIndexServerMsg Source #
Messages from the ChainIndex Server
StartingNodeClientThread | Starting a node client thread |
StartingChainIndex Int | Port number | Received transaction |
ReceivedBlocksTxns | |
ChainEvent ChainIndexLog |
Instances
type ChainIndexTrace = Trace IO ChainIndexServerMsg Source #