ouroboros-network-0.1.0.1: A networking layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Network.Diffusion

Synopsis

Common API

data P2P Source #

Promoted data types.

Constructors

P2P
NonP2P

data Tracers ntnAddr ntnVersion ntcAddr ntcVersion m Source #

Common DiffusionTracers interface between P2P and NonP2P

Constructors

Tracers

Fields

nullTracers :: Applicative m => Tracers ntnAddr ntnVersion ntcAddr ntcVersion m Source #

data Arguments ntnFd ntnAddr ntcFd ntcAddr Source #

Common DiffusionArguments interface between P2P and NonP2P

Constructors

Arguments

Fields

data Applications ntnAddr ntnVersion ntnVersionData ntcAddr ntcVersion ntcVersionData m Source #

Common DiffusionArguments interface between P2P and NonP2P

TODO: we need initiator only mode for blockchain explorer or a similar application, there's no reason why one should run a node-to-node server for it.

Constructors

Applications

Fields

data ExtraApplications (p2p :: P2P ) ntnAddr m where Source #

Application data which depend on p2p mode.

Run data diffusion

Re-exports