| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Plutus.ChainIndex.Config
Contents
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 #
Constructors
| ChainIndexConfig | |
Fields
| |
Instances
newtype DecodeConfigException Source #
Constructors
| DecodeConfigException String |
Instances
| Show DecodeConfigException Source # | |
Defined in Plutus.ChainIndex.Config | |
| Exception DecodeConfigException Source # | |
Defined in Plutus.ChainIndex.Config | |
defaultConfig :: ChainIndexConfig Source #
These settings work with the main testnet
Lenses
Orphan instances
| ToJSON NetworkId Source # | |
| ToJSON NetworkMagic Source # | |
Methods 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 # | |
Methods parseJSON :: Value -> Parser NetworkMagic Source # parseJSONList :: Value -> Parser [NetworkMagic] Source # | |
| FromJSON BlockNo Source # | |