| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Network.Protocol.BlockFetch.Type
Synopsis
- data ChainRange point = ChainRange !point !point
- data BlockFetch block point where
- BFIdle :: forall block point. BlockFetch block point
- BFBusy :: forall block point. BlockFetch block point
- BFStreaming :: forall block point. BlockFetch block point
- BFDone :: forall block point. BlockFetch block point
- data SingBlockFetch (k :: BlockFetch block point) where
- SingBFIdle :: forall {block} {point}. SingBlockFetch ('BFIdle :: BlockFetch block point)
- SingBFBusy :: forall {block} {point}. SingBlockFetch ('BFBusy :: BlockFetch block point)
- SingBFStreaming :: forall {block} {point}. SingBlockFetch ('BFStreaming :: BlockFetch block point)
- SingBFDone :: forall {block} {point}. SingBlockFetch ('BFDone :: BlockFetch block point)
Documentation
data ChainRange point Source #
Range of blocks, defined by a lower and upper point, inclusive.
Constructors
| ChainRange !point !point |
Instances
data BlockFetch block point where Source #
Constructors
| BFIdle :: forall block point. BlockFetch block point | |
| BFBusy :: forall block point. BlockFetch block point | |
| BFStreaming :: forall block point. BlockFetch block point | |
| BFDone :: forall block point. BlockFetch block point |
Instances
| ShowProxy block => ShowProxy (BlockFetch block point :: Type) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods showProxy :: Proxy (BlockFetch block point) -> String | |||||
| Protocol (BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Associated Types
| |||||
| StateTokenI ('BFBusy :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods stateToken :: StateToken ('BFBusy :: BlockFetch block point) # | |||||
| StateTokenI ('BFDone :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods stateToken :: StateToken ('BFDone :: BlockFetch block point) # | |||||
| StateTokenI ('BFIdle :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods stateToken :: StateToken ('BFIdle :: BlockFetch block point) # | |||||
| StateTokenI ('BFStreaming :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods stateToken :: StateToken ('BFStreaming :: BlockFetch block point) # | |||||
| (NFData block, NFData point) => NFData (Message (BlockFetch block point) from to) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods rnf :: Message (BlockFetch block point) from to -> () # | |||||
| (Show block, Show point) => Show (Message (BlockFetch block point) from to) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |||||
| data Message (BlockFetch block point) (from :: BlockFetch block point) (to :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type data Message (BlockFetch block point) (from :: BlockFetch block point) (to :: BlockFetch block point) where
| |||||
| type StateToken Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |||||
| type StateAgency ('BFBusy :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |||||
| type StateAgency ('BFDone :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |||||
| type StateAgency ('BFIdle :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |||||
| type StateAgency ('BFStreaming :: BlockFetch block point) Source # | |||||
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |||||
data SingBlockFetch (k :: BlockFetch block point) where Source #
Constructors
| SingBFIdle :: forall {block} {point}. SingBlockFetch ('BFIdle :: BlockFetch block point) | |
| SingBFBusy :: forall {block} {point}. SingBlockFetch ('BFBusy :: BlockFetch block point) | |
| SingBFStreaming :: forall {block} {point}. SingBlockFetch ('BFStreaming :: BlockFetch block point) | |
| SingBFDone :: forall {block} {point}. SingBlockFetch ('BFDone :: BlockFetch block point) |
Instances
| Show (SingBlockFetch k) Source # | |
Defined in Ouroboros.Network.Protocol.BlockFetch.Type Methods showsPrec :: Int -> SingBlockFetch k -> ShowS # show :: SingBlockFetch k -> String # showList :: [SingBlockFetch k] -> ShowS # | |