ouroboros-network-0.1.0.0: A networking layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Magic

Synopsis

Documentation

newtype NetworkMagic Source #

NetworkMagic is used to differentiate between different networks during the initial handshake.

Constructors

NetworkMagic 

Instances

Instances details
Eq NetworkMagic Source # 
Instance details

Defined in Ouroboros.Network.Magic

Show NetworkMagic Source # 
Instance details

Defined in Ouroboros.Network.Magic

Generic NetworkMagic Source # 
Instance details

Defined in Ouroboros.Network.Magic

Associated Types

type Rep NetworkMagicTypeType Source #

NoThunks NetworkMagic Source # 
Instance details

Defined in Ouroboros.Network.Magic

Methods

noThunks ∷ Context → NetworkMagicIO (Maybe ThunkInfo)

wNoThunks ∷ Context → NetworkMagicIO (Maybe ThunkInfo)

showTypeOfProxy NetworkMagicString

type Rep NetworkMagic Source # 
Instance details

Defined in Ouroboros.Network.Magic

type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Ouroboros.Network.Magic" "ouroboros-network-0.1.0.0-inplace" 'True) (C1 ('MetaCons "NetworkMagic" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNetworkMagic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))