tests
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Network.AuthenticateSpec

Documentation

spec :: Spec Source #

newtype Msg Source #

Constructors

Msg ByteString 

Instances

Instances details
Arbitrary Msg Source # 
Instance details

Defined in Hydra.Network.AuthenticateSpec

Methods

arbitrary :: Gen Msg

shrink :: Msg -> [Msg]

Show Msg Source # 
Instance details

Defined in Hydra.Network.AuthenticateSpec

FromCBOR Msg Source # 
Instance details

Defined in Hydra.Network.AuthenticateSpec

Methods

fromCBOR :: Decoder s Msg

label :: Proxy Msg -> Text

ToCBOR Msg Source # 
Instance details

Defined in Hydra.Network.AuthenticateSpec

Methods

toCBOR :: Msg -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Msg -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Msg] -> Size

SignableRepresentation Msg Source # 
Instance details

Defined in Hydra.Network.AuthenticateSpec

Eq Msg Source # 
Instance details

Defined in Hydra.Network.AuthenticateSpec

Methods

(==) :: Msg -> Msg -> Bool Source #

(/=) :: Msg -> Msg -> Bool Source #