Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 1,008 Lines • ▼ Show 20 Lines | public: | ||||
// Whether a ping is requested. | // Whether a ping is requested. | ||||
std::atomic<bool> fPingQueued{false}; | std::atomic<bool> fPingQueued{false}; | ||||
std::set<TxId> orphan_work_set; | std::set<TxId> orphan_work_set; | ||||
CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, | CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, | ||||
SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, | SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, | ||||
uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, | uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, | ||||
const std::string &addrNameIn = "", | const std::string &addrNameIn, ConnectionType conn_type_in); | ||||
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; | const ConnectionType m_conn_type; | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |