Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 425 Lines • ▼ Show 20 Lines | private: | ||||
/** | /** | ||||
* Flag for deciding to connect to an extra outbound peer, in excess of | * Flag for deciding to connect to an extra outbound peer, in excess of | ||||
* nMaxOutbound. | * nMaxOutbound. | ||||
* This takes the place of a feeler connection. | * This takes the place of a feeler connection. | ||||
*/ | */ | ||||
std::atomic_bool m_try_another_outbound_peer; | std::atomic_bool m_try_another_outbound_peer; | ||||
std::atomic<int64_t> m_next_send_inv_to_incoming; | std::atomic<int64_t> m_next_send_inv_to_incoming{0}; | ||||
friend struct CConnmanTest; | friend struct CConnmanTest; | ||||
}; | }; | ||||
extern std::unique_ptr<CConnman> g_connman; | extern std::unique_ptr<CConnman> g_connman; | ||||
extern std::unique_ptr<BanMan> g_banman; | extern std::unique_ptr<BanMan> g_banman; | ||||
void Discover(); | void Discover(); | ||||
void StartMapPort(); | void StartMapPort(); | ||||
▲ Show 20 Lines • Show All 418 Lines • Show Last 20 Lines |