| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DMQ.Protocol.SigSubmission.Type
Synopsis
- newtype SigHash = SigHash {}
- newtype SigId = SigId {}
- newtype SigBody = SigBody {}
- newtype SigKESSignature = SigKESSignature {}
- type SigKESPeriod = Word
- newtype SigOpCertificate crypto = SigOpCertificate {
- getSigOpCertificate :: OCert crypto
- newtype SigColdKey = SigColdKey {}
- data SigRaw crypto = SigRaw {}
- data SigRawWithSignedBytes crypto = SigRawWithSignedBytes {
- sigRawSignedBytes :: ByteString
- sigRaw :: SigRaw crypto
- data Sig crypto where
- SigWithBytes { }
- pattern Sig :: SigId -> SigBody -> SigKESSignature -> SigKESPeriod -> SigOpCertificate crypto -> SigColdKey -> POSIXTime -> ByteString -> ByteString -> Sig crypto
- type SigSubmission crypto = TxSubmission2 SigId (Sig crypto)
- data family Message ps (st :: ps) (st' :: ps)
- newtype SizeInBytes = SizeInBytes {}
- newtype NumTxIdsToReq = NumTxIdsToReq {}
- data StBlockingStyle where
- data BlockingReplyList (blocking :: StBlockingStyle) a where
- BlockingReply :: forall a. NonEmpty a -> BlockingReplyList 'StBlocking a
- NonBlockingReply :: forall a. [a] -> BlockingReplyList 'StNonBlocking a
- data SingBlockingStyle (k :: StBlockingStyle) where
- data SingTxSubmission (k :: TxSubmission2 txid tx) where
- SingInit :: forall {txid} {tx}. SingTxSubmission ('StInit :: TxSubmission2 txid tx)
- SingIdle :: forall {txid} {tx}. SingTxSubmission ('StIdle :: TxSubmission2 txid tx)
- SingTxIds :: forall {txid} {tx} (stBlocking :: StBlockingStyle). SingBlockingStyle stBlocking -> SingTxSubmission ('StTxIds stBlocking :: TxSubmission2 txid tx)
- SingTxs :: forall {txid} {tx}. SingTxSubmission ('StTxs :: TxSubmission2 txid tx)
- SingDone :: forall {txid} {tx}. SingTxSubmission ('StDone :: TxSubmission2 txid tx)
- newtype NumTxIdsToAck = NumTxIdsToAck {}
- pattern StDone :: TxSubmission2 txid tx
- pattern StIdle :: TxSubmission2 txid tx
- pattern StInit :: TxSubmission2 txid tx
- pattern StTxIds :: StBlockingStyle -> TxSubmission2 txid tx
- pattern StTxs :: TxSubmission2 txid tx
- type POSIXTime = NominalDiffTime
- newtype CBORBytes = CBORBytes {}
Data types
Constructors
| SigHash | |
Fields | |
newtype SigKESSignature Source #
Constructors
| SigKESSignature | |
Fields | |
Instances
| Show SigKESSignature Source # | |
Defined in DMQ.Protocol.SigSubmission.Type Methods showsPrec :: Int -> SigKESSignature -> ShowS # show :: SigKESSignature -> String # showList :: [SigKESSignature] -> ShowS # | |
| Eq SigKESSignature Source # | |
Defined in DMQ.Protocol.SigSubmission.Type Methods (==) :: SigKESSignature -> SigKESSignature -> Bool # (/=) :: SigKESSignature -> SigKESSignature -> Bool # | |
type SigKESPeriod = Word Source #
newtype SigOpCertificate crypto Source #
Constructors
| SigOpCertificate | |
Fields
| |
Instances
| (DSIGNAlgorithm (DSIGN crypto), Show (VerKeyKES (KES crypto))) => Show (SigOpCertificate crypto) Source # | |
Defined in DMQ.Protocol.SigSubmission.Type Methods showsPrec :: Int -> SigOpCertificate crypto -> ShowS # show :: SigOpCertificate crypto -> String # showList :: [SigOpCertificate crypto] -> ShowS # | |
| (DSIGNAlgorithm (DSIGN crypto), Eq (VerKeyKES (KES crypto))) => Eq (SigOpCertificate crypto) Source # | |
Defined in DMQ.Protocol.SigSubmission.Type Methods (==) :: SigOpCertificate crypto -> SigOpCertificate crypto -> Bool # (/=) :: SigOpCertificate crypto -> SigOpCertificate crypto -> Bool # | |
newtype SigColdKey Source #
Constructors
| SigColdKey | |
Fields | |
Instances
| Show SigColdKey Source # | |
Defined in DMQ.Protocol.SigSubmission.Type Methods showsPrec :: Int -> SigColdKey -> ShowS # show :: SigColdKey -> String # showList :: [SigColdKey] -> ShowS # | |
| Eq SigColdKey Source # | |
Defined in DMQ.Protocol.SigSubmission.Type | |
Sig type consists of payload and its KES signature.
TODO: add signed bytes.
Constructors
| SigRaw | |
Fields
| |
data SigRawWithSignedBytes crypto Source #
Constructors
| SigRawWithSignedBytes | |
Fields
| |
Instances
Constructors
| SigWithBytes | |
Fields
| |
Bundled Patterns
| pattern Sig :: SigId -> SigBody -> SigKESSignature -> SigKESPeriod -> SigOpCertificate crypto -> SigColdKey -> POSIXTime -> ByteString -> ByteString -> Sig crypto | A convenient bidirectional pattern synonym for the |
Instances
| Typeable crypto => ShowProxy (Sig crypto :: Type) Source # | |
Defined in DMQ.Protocol.SigSubmission.Type | |
| Crypto crypto => ToJSON (Sig crypto) Source # | |
| (DSIGNAlgorithm (DSIGN crypto), Show (VerKeyKES (KES crypto))) => Show (Sig crypto) Source # | |
| (DSIGNAlgorithm (DSIGN crypto), Eq (VerKeyKES (KES crypto))) => Eq (Sig crypto) Source # | |
TxSubmission mini-protocol
type SigSubmission crypto = TxSubmission2 SigId (Sig crypto) Source #
data family Message ps (st :: ps) (st' :: ps) #
The messages for this protocol. It is expected to be a GADT that is
indexed by the from and to protocol states. That is the protocol state
the message transitions from, and the protocol state it transitions into.
These are the edges of the protocol state transition system.
Instances
| (NFData vNumber, NFData vParams) => NFData (Message (Handshake vNumber vParams) from to) | |
Defined in Ouroboros.Network.Protocol.Handshake.Type | |
| (NFData block, NFData point) => NFData (Message (BlockFetch block point) from to) | |
Defined in Ouroboros.Network.Protocol.BlockFetch.Type | |
| (NFData header, NFData point, NFData tip) => NFData (Message (ChainSync header point tip) from to) | |
Defined in Ouroboros.Network.Protocol.ChainSync.Type | |
| NFData (Message KeepAlive from to) | |
Defined in Ouroboros.Network.Protocol.KeepAlive.Type | |
| (forall result. NFData (query result), NFData point) => NFData (Message (LocalStateQuery block point query) from to) | |
| (NFData txid, NFData tx, NFData slot) => NFData (Message (LocalTxMonitor txid tx slot) from to) | |
| (NFData tx, NFData reject) => NFData (Message (LocalTxSubmission tx reject) from to) | |
Defined in Ouroboros.Network.Protocol.LocalTxSubmission.Type Methods rnf :: Message (LocalTxSubmission tx reject) from to -> () # | |
| NFData peerAddress => NFData (Message (PeerSharing peerAddress) from to) | |
Defined in Ouroboros.Network.Protocol.PeerSharing.Type | |
| (NFData txid, NFData tx) => NFData (Message (TxSubmission2 txid tx) from to) | |
| Show msg => Show (Message (LocalMsgNotification msg) from to) Source # | |
Defined in DMQ.Protocol.LocalMsgNotification.Type | |
| (Show vNumber, Show vParams) => Show (Message (Handshake vNumber vParams) from to) | |
| (Show block, Show point) => Show (Message (BlockFetch block point) from to) | |
| (Show header, Show point, Show tip) => Show (Message (ChainSync header point tip) from to) | |
| Show (Message KeepAlive from to) | |
| (Show txid, Show tx, Show slot) => Show (Message (LocalTxMonitor txid tx slot) from to) | |
| (Show tx, Show reject) => Show (Message (LocalTxSubmission tx reject) from to) | |
| Show peer => Show (Message (PeerSharing peer) from to) | |
| (Show txid, Show tx) => Show (Message (TxSubmission2 txid tx) from to) | |
| Eq msg => Eq (Message (LocalMsgNotification msg) from to) Source # | |
Defined in DMQ.Protocol.LocalMsgNotification.Type Methods (==) :: Message (LocalMsgNotification msg) from to -> Message (LocalMsgNotification msg) from to -> Bool # (/=) :: Message (LocalMsgNotification msg) from to -> Message (LocalMsgNotification msg) from to -> Bool # | |
| (Eq tx, Eq reject) => Eq (Message (LocalTxSubmission tx reject) from to) | |
Defined in Ouroboros.Network.Protocol.LocalTxSubmission.Type Methods (==) :: Message (LocalTxSubmission tx reject) from to -> Message (LocalTxSubmission tx reject) from to -> Bool # (/=) :: Message (LocalTxSubmission tx reject) from to -> Message (LocalTxSubmission tx reject) from to -> Bool # | |
| (Eq txid, Eq tx) => Eq (Message (TxSubmission2 txid tx) from to) | |
| data Message KeepAlive (from :: KeepAlive) (to :: KeepAlive) | |
Defined in Ouroboros.Network.Protocol.KeepAlive.Type data Message KeepAlive (from :: KeepAlive) (to :: KeepAlive) where
| |
| data Message (LocalMsgNotification msg) (from :: LocalMsgNotification msg) (to :: LocalMsgNotification msg) Source # | |
Defined in DMQ.Protocol.LocalMsgNotification.Type data Message (LocalMsgNotification msg) (from :: LocalMsgNotification msg) (to :: LocalMsgNotification msg) where
| |
| data Message (PeerSharing peerAddress) (from :: PeerSharing peerAddress) (to :: PeerSharing peerAddress) | |
Defined in Ouroboros.Network.Protocol.PeerSharing.Type data Message (PeerSharing peerAddress) (from :: PeerSharing peerAddress) (to :: PeerSharing peerAddress) where
| |
| data Message (BlockFetch block point) (from :: BlockFetch block point) (to :: BlockFetch block point) | |
Defined in Ouroboros.Network.Protocol.BlockFetch.Type data Message (BlockFetch block point) (from :: BlockFetch block point) (to :: BlockFetch block point) where
| |
| data Message (LocalTxSubmission tx reject) (from :: LocalTxSubmission tx reject) (to :: LocalTxSubmission tx reject) | |
Defined in Ouroboros.Network.Protocol.LocalTxSubmission.Type data Message (LocalTxSubmission tx reject) (from :: LocalTxSubmission tx reject) (to :: LocalTxSubmission tx reject) where
| |
| data Message (TxSubmission2 txid tx) (from :: TxSubmission2 txid tx) (to :: TxSubmission2 txid tx) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type data Message (TxSubmission2 txid tx) (from :: TxSubmission2 txid tx) (to :: TxSubmission2 txid tx) where
| |
| data Message (ChainSync header point tip) (from :: ChainSync header point tip) (to :: ChainSync header point tip) | |
Defined in Ouroboros.Network.Protocol.ChainSync.Type data Message (ChainSync header point tip) (from :: ChainSync header point tip) (to :: ChainSync header point tip) where
| |
| data Message (LocalStateQuery block point query) (from :: LocalStateQuery block point query) (to :: LocalStateQuery block point query) | |
Defined in Ouroboros.Network.Protocol.LocalStateQuery.Type data Message (LocalStateQuery block point query) (from :: LocalStateQuery block point query) (to :: LocalStateQuery block point query) where
| |
| data Message (LocalTxMonitor txid tx slot) (from :: LocalTxMonitor txid tx slot) (to :: LocalTxMonitor txid tx slot) | |
Defined in Ouroboros.Network.Protocol.LocalTxMonitor.Type data Message (LocalTxMonitor txid tx slot) (from :: LocalTxMonitor txid tx slot) (to :: LocalTxMonitor txid tx slot) where
| |
| data Message (Handshake vNumber vParams) (from :: Handshake vNumber vParams) (to :: Handshake vNumber vParams) | |
Defined in Ouroboros.Network.Protocol.Handshake.Type data Message (Handshake vNumber vParams) (from :: Handshake vNumber vParams) (to :: Handshake vNumber vParams) where
| |
newtype SizeInBytes #
Constructors
| SizeInBytes | |
Fields | |
Instances
newtype NumTxIdsToReq #
Constructors
| NumTxIdsToReq | |
Fields | |
Instances
| NFData NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods rnf :: NumTxIdsToReq -> () # | |||||
| Monoid NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods mempty :: NumTxIdsToReq # mappend :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # mconcat :: [NumTxIdsToReq] -> NumTxIdsToReq # | |||||
| Semigroup NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (<>) :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # sconcat :: NonEmpty NumTxIdsToReq -> NumTxIdsToReq # stimes :: Integral b => b -> NumTxIdsToReq -> NumTxIdsToReq # | |||||
| Bounded NumTxIdsToReq | |||||
| Enum NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods succ :: NumTxIdsToReq -> NumTxIdsToReq # pred :: NumTxIdsToReq -> NumTxIdsToReq # toEnum :: Int -> NumTxIdsToReq # fromEnum :: NumTxIdsToReq -> Int # enumFrom :: NumTxIdsToReq -> [NumTxIdsToReq] # enumFromThen :: NumTxIdsToReq -> NumTxIdsToReq -> [NumTxIdsToReq] # enumFromTo :: NumTxIdsToReq -> NumTxIdsToReq -> [NumTxIdsToReq] # enumFromThenTo :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq -> [NumTxIdsToReq] # | |||||
| Generic NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Associated Types
| |||||
| Num NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (+) :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # (-) :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # (*) :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # negate :: NumTxIdsToReq -> NumTxIdsToReq # abs :: NumTxIdsToReq -> NumTxIdsToReq # signum :: NumTxIdsToReq -> NumTxIdsToReq # fromInteger :: Integer -> NumTxIdsToReq # | |||||
| Integral NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods quot :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # rem :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # div :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # mod :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # quotRem :: NumTxIdsToReq -> NumTxIdsToReq -> (NumTxIdsToReq, NumTxIdsToReq) # divMod :: NumTxIdsToReq -> NumTxIdsToReq -> (NumTxIdsToReq, NumTxIdsToReq) # toInteger :: NumTxIdsToReq -> Integer # | |||||
| Real NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods toRational :: NumTxIdsToReq -> Rational # | |||||
| Show NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods showsPrec :: Int -> NumTxIdsToReq -> ShowS # show :: NumTxIdsToReq -> String # showList :: [NumTxIdsToReq] -> ShowS # | |||||
| Eq NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (==) :: NumTxIdsToReq -> NumTxIdsToReq -> Bool # (/=) :: NumTxIdsToReq -> NumTxIdsToReq -> Bool # | |||||
| Ord NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods compare :: NumTxIdsToReq -> NumTxIdsToReq -> Ordering # (<) :: NumTxIdsToReq -> NumTxIdsToReq -> Bool # (<=) :: NumTxIdsToReq -> NumTxIdsToReq -> Bool # (>) :: NumTxIdsToReq -> NumTxIdsToReq -> Bool # (>=) :: NumTxIdsToReq -> NumTxIdsToReq -> Bool # max :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # min :: NumTxIdsToReq -> NumTxIdsToReq -> NumTxIdsToReq # | |||||
| NoThunks NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods noThunks :: Context -> NumTxIdsToReq -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> NumTxIdsToReq -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy NumTxIdsToReq -> String # | |||||
| type Rep NumTxIdsToReq | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type type Rep NumTxIdsToReq = D1 ('MetaData "NumTxIdsToReq" "Ouroboros.Network.Protocol.TxSubmission2.Type" "ouroboros-network-0.23.0.0-inplace-protocols" 'True) (C1 ('MetaCons "NumTxIdsToReq" 'PrefixI 'True) (S1 ('MetaSel ('Just "getNumTxIdsToReq") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16))) | |||||
data StBlockingStyle where #
Constructors
| StBlocking :: StBlockingStyle | |
| StNonBlocking :: StBlockingStyle |
Instances
| SingI 'StBlocking | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods sing :: Sing 'StBlocking # | |
| SingI 'StNonBlocking | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods sing :: Sing 'StNonBlocking # | |
| type Sing | |
data BlockingReplyList (blocking :: StBlockingStyle) a where #
Constructors
| BlockingReply :: forall a. NonEmpty a -> BlockingReplyList 'StBlocking a | |
| NonBlockingReply :: forall a. [a] -> BlockingReplyList 'StNonBlocking a |
Instances
| Foldable (BlockingReplyList blocking) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods fold :: Monoid m => BlockingReplyList blocking m -> m # foldMap :: Monoid m => (a -> m) -> BlockingReplyList blocking a -> m # foldMap' :: Monoid m => (a -> m) -> BlockingReplyList blocking a -> m # foldr :: (a -> b -> b) -> b -> BlockingReplyList blocking a -> b # foldr' :: (a -> b -> b) -> b -> BlockingReplyList blocking a -> b # foldl :: (b -> a -> b) -> b -> BlockingReplyList blocking a -> b # foldl' :: (b -> a -> b) -> b -> BlockingReplyList blocking a -> b # foldr1 :: (a -> a -> a) -> BlockingReplyList blocking a -> a # foldl1 :: (a -> a -> a) -> BlockingReplyList blocking a -> a # toList :: BlockingReplyList blocking a -> [a] # null :: BlockingReplyList blocking a -> Bool # length :: BlockingReplyList blocking a -> Int # elem :: Eq a => a -> BlockingReplyList blocking a -> Bool # maximum :: Ord a => BlockingReplyList blocking a -> a # minimum :: Ord a => BlockingReplyList blocking a -> a # sum :: Num a => BlockingReplyList blocking a -> a # product :: Num a => BlockingReplyList blocking a -> a # | |
| NFData a => NFData (BlockingReplyList blocking a) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods rnf :: BlockingReplyList blocking a -> () # | |
| Show a => Show (BlockingReplyList blocking a) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods showsPrec :: Int -> BlockingReplyList blocking a -> ShowS # show :: BlockingReplyList blocking a -> String # showList :: [BlockingReplyList blocking a] -> ShowS # | |
| Eq a => Eq (BlockingReplyList blocking a) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (==) :: BlockingReplyList blocking a -> BlockingReplyList blocking a -> Bool # (/=) :: BlockingReplyList blocking a -> BlockingReplyList blocking a -> Bool # | |
data SingBlockingStyle (k :: StBlockingStyle) where #
Constructors
| SingBlocking :: SingBlockingStyle 'StBlocking | |
| SingNonBlocking :: SingBlockingStyle 'StNonBlocking |
Instances
| NFData (SingBlockingStyle b) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods rnf :: SingBlockingStyle b -> () # | |
| Show (SingBlockingStyle b) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods showsPrec :: Int -> SingBlockingStyle b -> ShowS # show :: SingBlockingStyle b -> String # showList :: [SingBlockingStyle b] -> ShowS # | |
| Eq (SingBlockingStyle b) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (==) :: SingBlockingStyle b -> SingBlockingStyle b -> Bool # (/=) :: SingBlockingStyle b -> SingBlockingStyle b -> Bool # | |
data SingTxSubmission (k :: TxSubmission2 txid tx) where #
Constructors
| SingInit :: forall {txid} {tx}. SingTxSubmission ('StInit :: TxSubmission2 txid tx) | |
| SingIdle :: forall {txid} {tx}. SingTxSubmission ('StIdle :: TxSubmission2 txid tx) | |
| SingTxIds :: forall {txid} {tx} (stBlocking :: StBlockingStyle). SingBlockingStyle stBlocking -> SingTxSubmission ('StTxIds stBlocking :: TxSubmission2 txid tx) | |
| SingTxs :: forall {txid} {tx}. SingTxSubmission ('StTxs :: TxSubmission2 txid tx) | |
| SingDone :: forall {txid} {tx}. SingTxSubmission ('StDone :: TxSubmission2 txid tx) |
Instances
| Show (SingTxSubmission k) | |
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods showsPrec :: Int -> SingTxSubmission k -> ShowS # show :: SingTxSubmission k -> String # showList :: [SingTxSubmission k] -> ShowS # | |
newtype NumTxIdsToAck #
Constructors
| NumTxIdsToAck | |
Fields | |
Instances
| NFData NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods rnf :: NumTxIdsToAck -> () # | |||||
| Monoid NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods mempty :: NumTxIdsToAck # mappend :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # mconcat :: [NumTxIdsToAck] -> NumTxIdsToAck # | |||||
| Semigroup NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (<>) :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # sconcat :: NonEmpty NumTxIdsToAck -> NumTxIdsToAck # stimes :: Integral b => b -> NumTxIdsToAck -> NumTxIdsToAck # | |||||
| Bounded NumTxIdsToAck | |||||
| Enum NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods succ :: NumTxIdsToAck -> NumTxIdsToAck # pred :: NumTxIdsToAck -> NumTxIdsToAck # toEnum :: Int -> NumTxIdsToAck # fromEnum :: NumTxIdsToAck -> Int # enumFrom :: NumTxIdsToAck -> [NumTxIdsToAck] # enumFromThen :: NumTxIdsToAck -> NumTxIdsToAck -> [NumTxIdsToAck] # enumFromTo :: NumTxIdsToAck -> NumTxIdsToAck -> [NumTxIdsToAck] # enumFromThenTo :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck -> [NumTxIdsToAck] # | |||||
| Generic NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Associated Types
| |||||
| Num NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (+) :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # (-) :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # (*) :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # negate :: NumTxIdsToAck -> NumTxIdsToAck # abs :: NumTxIdsToAck -> NumTxIdsToAck # signum :: NumTxIdsToAck -> NumTxIdsToAck # fromInteger :: Integer -> NumTxIdsToAck # | |||||
| Integral NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods quot :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # rem :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # div :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # mod :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # quotRem :: NumTxIdsToAck -> NumTxIdsToAck -> (NumTxIdsToAck, NumTxIdsToAck) # divMod :: NumTxIdsToAck -> NumTxIdsToAck -> (NumTxIdsToAck, NumTxIdsToAck) # toInteger :: NumTxIdsToAck -> Integer # | |||||
| Real NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods toRational :: NumTxIdsToAck -> Rational # | |||||
| Show NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods showsPrec :: Int -> NumTxIdsToAck -> ShowS # show :: NumTxIdsToAck -> String # showList :: [NumTxIdsToAck] -> ShowS # | |||||
| Eq NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods (==) :: NumTxIdsToAck -> NumTxIdsToAck -> Bool # (/=) :: NumTxIdsToAck -> NumTxIdsToAck -> Bool # | |||||
| Ord NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods compare :: NumTxIdsToAck -> NumTxIdsToAck -> Ordering # (<) :: NumTxIdsToAck -> NumTxIdsToAck -> Bool # (<=) :: NumTxIdsToAck -> NumTxIdsToAck -> Bool # (>) :: NumTxIdsToAck -> NumTxIdsToAck -> Bool # (>=) :: NumTxIdsToAck -> NumTxIdsToAck -> Bool # max :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # min :: NumTxIdsToAck -> NumTxIdsToAck -> NumTxIdsToAck # | |||||
| NoThunks NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type Methods noThunks :: Context -> NumTxIdsToAck -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> NumTxIdsToAck -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy NumTxIdsToAck -> String # | |||||
| type Rep NumTxIdsToAck | |||||
Defined in Ouroboros.Network.Protocol.TxSubmission2.Type type Rep NumTxIdsToAck = D1 ('MetaData "NumTxIdsToAck" "Ouroboros.Network.Protocol.TxSubmission2.Type" "ouroboros-network-0.23.0.0-inplace-protocols" 'True) (C1 ('MetaCons "NumTxIdsToAck" 'PrefixI 'True) (S1 ('MetaSel ('Just "getNumTxIdsToAck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16))) | |||||
pattern StTxIds :: StBlockingStyle -> TxSubmission2 txid tx #
type POSIXTime = NominalDiffTime #
POSIX time is the nominal time since 1970-01-01 00:00 UTC
To convert from a CTime or System.Posix.EpochTime, use realToFrac.