Safe Haskell | None |
---|---|
Language | Haskell2010 |
DMQ.Configuration.Topology
Synopsis
- readTopologyFile :: (FromJSON extraConfig, FromJSON extraFlags) => FilePath -> IO (Either Text (NetworkTopology extraConfig extraFlags))
- readTopologyFileOrError :: (FromJSON extraConfig, FromJSON extraFlags) => FilePath -> IO (NetworkTopology extraConfig extraFlags)
- readPeerSnapshotFile :: FilePath -> IO (Either Text LedgerPeerSnapshot)
- readPeerSnapshotFileOrError :: FilePath -> IO LedgerPeerSnapshot
Documentation
readTopologyFile :: (FromJSON extraConfig, FromJSON extraFlags) => FilePath -> IO (Either Text (NetworkTopology extraConfig extraFlags)) Source #
Read the NetworkTopology
configuration from the specified file.
readTopologyFileOrError :: (FromJSON extraConfig, FromJSON extraFlags) => FilePath -> IO (NetworkTopology extraConfig extraFlags) Source #