Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- type TTL = Natural
- data Input tx
- = ClientInput {
- clientInput :: ClientInput tx
- | NetworkInput {
- ttl :: TTL
- networkEvent :: NetworkEvent (Message tx)
- | ChainInput {
- chainEvent :: ChainEvent tx
- = ClientInput {
Documentation
Inputs that are processed by the head logic (the "core"). Corresponding to each of the "shell" layers, we distinguish between inputs from the client, the network and the chain.
ClientInput | Input received from clients via the Hydra.API. |
| |
NetworkInput | Input received from peers via a Hydra.Network.
|
| |
ChainInput | Input received from the chain via a Hydra.Chain. |
|