Hydra.Network.Message
data Connectivity Source #
Constructors
Fields
Defined in Hydra.Network.Message
Methods
parseJSON :: Value -> Parser Connectivity
parseJSONList :: Value -> Parser [Connectivity]
toJSON :: Connectivity -> Value
toEncoding :: Connectivity -> Encoding
toJSONList :: [Connectivity] -> Value
toEncodingList :: [Connectivity] -> Encoding
Associated Types
type Rep Connectivity :: Type -> Type Source #
from :: Connectivity -> Rep Connectivity x Source #
to :: Rep Connectivity x -> Connectivity Source #
showsPrec :: Int -> Connectivity -> ShowS Source #
show :: Connectivity -> String Source #
showList :: [Connectivity] -> ShowS Source #
(==) :: Connectivity -> Connectivity -> Bool Source #
(/=) :: Connectivity -> Connectivity -> Bool Source #
data Message tx Source #
arbitrary :: Gen (Message tx)
shrink :: Message tx -> [Message tx]
parseJSON :: Value -> Parser (Message tx)
parseJSONList :: Value -> Parser [Message tx]
toJSON :: Message tx -> Value
toEncoding :: Message tx -> Encoding
toJSONList :: [Message tx] -> Value
toEncodingList :: [Message tx] -> Encoding
type Rep (Message tx) :: Type -> Type Source #
from :: Message tx -> Rep (Message tx) x Source #
to :: Rep (Message tx) x -> Message tx Source #
showsPrec :: Int -> Message tx -> ShowS Source #
show :: Message tx -> String Source #
showList :: [Message tx] -> ShowS Source #
fromCBOR :: Decoder s (Message tx)
label :: Proxy (Message tx) -> Text
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
getSignableRepresentation :: Message tx -> ByteString
(==) :: Message tx -> Message tx -> Bool Source #
(/=) :: Message tx -> Message tx -> Bool Source #