Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 972 Lines • ▼ Show 20 Lines | CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, | ||||
ConnectionType conn_type_in = ConnectionType::OUTBOUND); | ConnectionType conn_type_in = ConnectionType::OUTBOUND); | ||||
~CNode(); | ~CNode(); | ||||
CNode(const CNode &) = delete; | CNode(const CNode &) = delete; | ||||
CNode &operator=(const CNode &) = delete; | CNode &operator=(const CNode &) = delete; | ||||
private: | private: | ||||
const NodeId id; | const NodeId id; | ||||
const uint64_t nLocalHostNonce; | const uint64_t nLocalHostNonce; | ||||
const ConnectionType m_conn_type; | |||||
//! Services offered to this peer. | //! Services offered to this peer. | ||||
//! | //! | ||||
//! This is supplied by the parent CConnman during peer connection | //! This is supplied by the parent CConnman during peer connection | ||||
//! (CConnman::ConnectNode()) from its attribute of the same name. | //! (CConnman::ConnectNode()) from its attribute of the same name. | ||||
//! | //! | ||||
//! This is const because there is no protocol defined for renegotiating | //! This is const because there is no protocol defined for renegotiating | ||||
//! services initially offered to a peer. The set of local services we | //! services initially offered to a peer. The set of local services we | ||||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |