Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ChainIndexConfig = ChainIndexConfig { }
- newtype DecodeConfigException = DecodeConfigException String
- defaultConfig :: ChainIndexConfig
- socketPath :: Lens' ChainIndexConfig String
- dbPath :: Lens' ChainIndexConfig String
- port :: Lens' ChainIndexConfig Int
- networkId :: Lens' ChainIndexConfig NetworkId
- securityParam :: Lens' ChainIndexConfig Int
- slotConfig :: Lens' ChainIndexConfig SlotConfig
- storeFrom :: Lens' ChainIndexConfig BlockNo
- appendTransactionQueueSize :: Lens' ChainIndexConfig Natural
Documentation
data ChainIndexConfig Source #
ChainIndexConfig | |
|
Instances
newtype DecodeConfigException Source #
Instances
defaultConfig :: ChainIndexConfig Source #
These settings work with the main testnet
Lenses
Orphan instances
ToJSON NetworkId Source # | |
ToJSON NetworkMagic Source # | |
toJSON :: NetworkMagic -> Value Source # toEncoding :: NetworkMagic -> Encoding Source # toJSONList :: [ NetworkMagic ] -> Value Source # toEncodingList :: [ NetworkMagic ] -> Encoding Source # |
|
ToJSON BlockNo Source # | |
FromJSON NetworkId Source # |
For some reason these are not defined anywhere, and these are the reason for the -Wno-orphans option. |
FromJSON NetworkMagic Source # | |
parseJSON :: Value -> Parser NetworkMagic Source # parseJSONList :: Value -> Parser [ NetworkMagic ] Source # |
|
FromJSON BlockNo Source # | |