Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data NetworkEvent msg Source #
Instances
newtype HydraVersionedProtocolNumber Source #
Instances
data KnownHydraVersions Source #
Instances
data HydraHandshakeRefused Source #
Instances
data Connectivity Source #
Instances
ReqTx | |
| |
ReqSn | |
| |
AckSn | |
| |
ReqDec | |
|
Instances
ArbitraryIsTx tx => Arbitrary (Message tx) Source # | |
IsTx tx => FromJSON (Message tx) Source # | |
Defined in Hydra.Network.Message parseJSON :: Value -> Parser (Message tx) parseJSONList :: Value -> Parser [Message tx] omittedField :: Maybe (Message tx) | |
IsTx tx => ToJSON (Message tx) Source # | |
Defined in Hydra.Network.Message toEncoding :: Message tx -> Encoding toJSONList :: [Message tx] -> Value toEncodingList :: [Message tx] -> Encoding | |
Generic (Message tx) Source # | |
IsTx tx => Show (Message tx) Source # | |
(FromCBOR tx, FromCBOR (UTxOType tx), FromCBOR (TxIdType tx)) => FromCBOR (Message tx) Source # | |
(ToCBOR tx, ToCBOR (UTxOType tx), ToCBOR (TxIdType tx)) => ToCBOR (Message tx) Source # | |
Defined in Hydra.Network.Message toCBOR :: Message tx -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Message tx) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Message tx] -> Size | |
IsTx tx => SignableRepresentation (Message tx) Source # | |
Defined in Hydra.Network.Message getSignableRepresentation :: Message tx -> ByteString | |
IsTx tx => Eq (Message tx) Source # | |
type Rep (Message tx) Source # | |
Defined in Hydra.Network.Message type Rep (Message tx) = D1 ('MetaData "Message" "Hydra.Network.Message" "hydra-node-0.20.0-5pXAEiXeWsXH8K4KfwlMxW" 'False) ((C1 ('MetaCons "ReqTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "transaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 tx)) :+: C1 ('MetaCons "ReqSn" 'PrefixI 'True) ((S1 ('MetaSel ('Just "snapshotVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SnapshotVersion) :*: S1 ('MetaSel ('Just "snapshotNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SnapshotNumber)) :*: (S1 ('MetaSel ('Just "transactionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxIdType tx]) :*: (S1 ('MetaSel ('Just "decommitTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe tx)) :*: S1 ('MetaSel ('Just "incrementUTxO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (UTxOType tx))))))) :+: (C1 ('MetaCons "AckSn" 'PrefixI 'True) (S1 ('MetaSel ('Just "signed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Signature (Snapshot tx))) :*: S1 ('MetaSel ('Just "snapshotNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SnapshotNumber)) :+: C1 ('MetaCons "ReqDec" 'PrefixI 'True) (S1 ('MetaSel ('Just "transaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 tx)))) |