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