cardano-node-1.33.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Configuration.NodeAddress

Synopsis

Node addresses

data NodeAddress' addr Source #

IPv4 or IPv6 address with a port number.

Constructors

NodeAddress 

Fields

Instances

Instances details
Functor NodeAddress' Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

fmap ∷ (a → b) → NodeAddress' a → NodeAddress' b Source #

(<$) ∷ a → NodeAddress' b → NodeAddress' a Source #

Eq addr ⇒ Eq (NodeAddress' addr) Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

(==)NodeAddress' addr → NodeAddress' addr → Bool Source #

(/=)NodeAddress' addr → NodeAddress' addr → Bool Source #

Ord addr ⇒ Ord (NodeAddress' addr) Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

compareNodeAddress' addr → NodeAddress' addr → Ordering Source #

(<)NodeAddress' addr → NodeAddress' addr → Bool Source #

(<=)NodeAddress' addr → NodeAddress' addr → Bool Source #

(>)NodeAddress' addr → NodeAddress' addr → Bool Source #

(>=)NodeAddress' addr → NodeAddress' addr → Bool Source #

maxNodeAddress' addr → NodeAddress' addr → NodeAddress' addr Source #

minNodeAddress' addr → NodeAddress' addr → NodeAddress' addr Source #

Show addr ⇒ Show (NodeAddress' addr) Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

showsPrecIntNodeAddress' addr → ShowS Source #

showNodeAddress' addr → String Source #

showList ∷ [NodeAddress' addr] → ShowS Source #

ToJSON addr ⇒ ToJSON (NodeAddress' addr) Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

toJSONNodeAddress' addr → Value #

toEncodingNodeAddress' addr → Encoding #

toJSONList ∷ [NodeAddress' addr] → Value #

toEncodingList ∷ [NodeAddress' addr] → Encoding #

FromJSON addr ⇒ FromJSON (NodeAddress' addr) Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

parseJSON ∷ Value → Parser (NodeAddress' addr) #

parseJSONList ∷ Value → Parser [NodeAddress' addr] #

newtype NodeHostIPAddress Source #

Constructors

NodeHostIPAddress 

Fields

Instances

Instances details
Eq NodeHostIPAddress Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Ord NodeHostIPAddress Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Show NodeHostIPAddress Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

ToJSON NodeHostIPAddress Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

toJSONNodeHostIPAddress → Value #

toEncodingNodeHostIPAddress → Encoding #

toJSONList ∷ [NodeHostIPAddress] → Value #

toEncodingList ∷ [NodeHostIPAddress] → Encoding #

FromJSON NodeHostIPAddress Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

parseJSON ∷ Value → Parser NodeHostIPAddress #

parseJSONList ∷ Value → Parser [NodeHostIPAddress] #

newtype NodeHostIPv4Address Source #

Constructors

NodeHostIPv4Address 

Fields

Instances

Instances details
Eq NodeHostIPv4Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Ord NodeHostIPv4Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Show NodeHostIPv4Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

ToJSON NodeHostIPv4Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

toJSONNodeHostIPv4Address → Value #

toEncodingNodeHostIPv4Address → Encoding #

toJSONList ∷ [NodeHostIPv4Address] → Value #

toEncodingList ∷ [NodeHostIPv4Address] → Encoding #

FromJSON NodeHostIPv4Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

parseJSON ∷ Value → Parser NodeHostIPv4Address #

parseJSONList ∷ Value → Parser [NodeHostIPv4Address] #

newtype NodeHostIPv6Address Source #

Constructors

NodeHostIPv6Address 

Fields

Instances

Instances details
Eq NodeHostIPv6Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Ord NodeHostIPv6Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Show NodeHostIPv6Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

ToJSON NodeHostIPv6Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

toJSONNodeHostIPv6Address → Value #

toEncodingNodeHostIPv6Address → Encoding #

toJSONList ∷ [NodeHostIPv6Address] → Value #

toEncodingList ∷ [NodeHostIPv6Address] → Encoding #

FromJSON NodeHostIPv6Address Source # 
Instance details

Defined in Cardano.Node.Configuration.NodeAddress

Methods

parseJSON ∷ Value → Parser NodeHostIPv6Address #

parseJSONList ∷ Value → Parser [NodeHostIPv6Address] #

data PortNumber #

Instances

Instances details
Bounded PortNumber 
Instance details

Defined in Network.Socket.Types

Enum PortNumber 
Instance details

Defined in Network.Socket.Types

Eq PortNumber 
Instance details

Defined in Network.Socket.Types

Integral PortNumber 
Instance details

Defined in Network.Socket.Types

Num PortNumber 
Instance details

Defined in Network.Socket.Types

Ord PortNumber 
Instance details

Defined in Network.Socket.Types

Read PortNumber 
Instance details

Defined in Network.Socket.Types

Real PortNumber 
Instance details

Defined in Network.Socket.Types

Show PortNumber 
Instance details

Defined in Network.Socket.Types

Storable PortNumber 
Instance details

Defined in Network.Socket.Types

FromJSON PortNumber Source # 
Instance details

Defined in Cardano.Tracing.OrphanInstances.Common

Methods

parseJSON ∷ Value → Parser PortNumber #

parseJSONList ∷ Value → Parser [PortNumber] #

newtype SocketPath Source #

Socket path

Constructors

SocketPath