ouroboros-network-protocols-0.8.1.0: Ouroboros Network Protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Network.Protocol.BlockFetch.Type

Synopsis

Documentation

data ChainRange point Source #

Range of blocks, defined by a lower and upper point, inclusive.

Constructors

ChainRange !point !point 

Instances

Instances details
Generic (ChainRange point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Associated Types

type Rep (ChainRange point) ∷ TypeType #

Methods

fromChainRange point → Rep (ChainRange point) x #

toRep (ChainRange point) x → ChainRange point #

Show point ⇒ Show (ChainRange point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

showsPrecIntChainRange point → ShowS #

showChainRange point → String #

showList ∷ [ChainRange point] → ShowS #

NFData point ⇒ NFData (ChainRange point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

rnfChainRange point → () #

Eq point ⇒ Eq (ChainRange point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

(==)ChainRange point → ChainRange point → Bool #

(/=)ChainRange point → ChainRange point → Bool #

Ord point ⇒ Ord (ChainRange point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

compareChainRange point → ChainRange point → Ordering #

(<)ChainRange point → ChainRange point → Bool #

(<=)ChainRange point → ChainRange point → Bool #

(>)ChainRange point → ChainRange point → Bool #

(>=)ChainRange point → ChainRange point → Bool #

maxChainRange point → ChainRange point → ChainRange point #

minChainRange point → ChainRange point → ChainRange point #

type Rep (ChainRange point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

type Rep (ChainRange point) = D1 ('MetaData "ChainRange" "Ouroboros.Network.Protocol.BlockFetch.Type" "ouroboros-network-protocols-0.8.1.0-inplace" 'False) (C1 ('MetaCons "ChainRange" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 point) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 point)))

data BlockFetch block point where Source #

Constructors

BFIdleBlockFetch block point 
BFBusyBlockFetch block point 
BFStreamingBlockFetch block point 
BFDoneBlockFetch block point 

Instances

Instances details
ShowProxy block ⇒ ShowProxy (BlockFetch block point ∷ Type) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

showProxyProxy (BlockFetch block point) → String Source #

Show (ClientHasAgency st) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Show (ServerHasAgency st) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

NFData (ClientHasAgency st) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

rnfClientHasAgency st → () #

NFData (NobodyHasAgency st) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

rnfNobodyHasAgency st → () #

NFData (ServerHasAgency st) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

rnfServerHasAgency st → () #

(Show block, Show point) ⇒ Show (Message (BlockFetch block point) from to) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

showsPrecIntMessage (BlockFetch block point) from to → ShowS #

showMessage (BlockFetch block point) from to → String #

showList ∷ [Message (BlockFetch block point) from to] → ShowS #

(NFData block, NFData point) ⇒ NFData (Message (BlockFetch block point) from to) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

rnfMessage (BlockFetch block point) from to → () #

NFData (PeerHasAgency pr st) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Methods

rnfPeerHasAgency pr st → () #

Protocol (BlockFetch block point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Associated Types

data Message (BlockFetch block point) st st' Source #

data ClientHasAgency st Source #

data ServerHasAgency st Source #

data NobodyHasAgency st Source #

data ClientHasAgency (st ∷ BlockFetch block point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

data ClientHasAgency (st ∷ BlockFetch block point) where
data Message (BlockFetch block point) (from ∷ BlockFetch block point) (to ∷ BlockFetch block point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

data Message (BlockFetch block point) (from ∷ BlockFetch block point) (to ∷ BlockFetch block point) where
data NobodyHasAgency (st ∷ BlockFetch block point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

data NobodyHasAgency (st ∷ BlockFetch block point) where
data ServerHasAgency (st ∷ BlockFetch block point) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

data ServerHasAgency (st ∷ BlockFetch block point) where