Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type CardanoBlock = CardanoBlock StandardCrypto
- type LocalSubmitTx = TxInMode -> IO (SubmitResult TxValidationErrorInCardanoMode)
- data LoggingLayer
- data PaymentKey
- data ShelleyGenesis c
- data family SigningKey keyrole
- type SigningKeyFile = File (SigningKey ())
- type StandardShelley = ShelleyEra StandardCrypto
- data NetworkId
- makeLocalConnectInfo :: NetworkId -> SocketPath -> LocalNodeConnectInfo
- protocolToTopLevelConfig :: SomeConsensusProtocol -> TopLevelConfig CardanoBlock
- protocolToNetworkId :: SomeConsensusProtocol -> NetworkId
- protocolToCodecConfig :: SomeConsensusProtocol -> CodecConfig CardanoBlock
- submitTxToNodeLocal :: LocalNodeConnectInfo -> TxInMode -> IO (SubmitResult TxValidationErrorInCardanoMode)
Documentation
type LocalSubmitTx = TxInMode -> IO (SubmitResult TxValidationErrorInCardanoMode) Source #
data LoggingLayer Source #
The LoggingLayer interface that we can expose. We want to do this since we want to be able to mock out any function tied to logging.
The good side of this is that _each function has it's own effects_ and that is ideal for tracking the functions effects and constraining the user (programmer) of those function to use specific effects in them. https://github.com/input-output-hk/cardano-sl/blob/develop/util/src/Pos/Util/Log/LogSafe.hs
data PaymentKey #
Instances
data ShelleyGenesis c #
Instances
data family SigningKey keyrole #
Instances
type SigningKeyFile = File (SigningKey ()) Source #
type StandardShelley = ShelleyEra StandardCrypto Source #
The Shelley era with standard crypto