gini-network-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Gini.Network.Types.Peers.Internal

Synopsis

Documentation

class HasPeersState env where #

An environment which contains PeersState.

Minimal complete definition

peersStateL

Methods

peersStateL #

Arguments

:: Lens' env (TVar PeersState)

Lens to get or set PeersState

data PeersState #

Peers management state

Constructors

PeersState 

Fields

data NodeIdHandshake #

Tracks cookie and time for a node ID handshake query