Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 465 Lines • ▼ Show 20 Lines | private: | ||||
*/ | */ | ||||
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{0}; | 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<BanMan> g_banman; | |||||
void Discover(); | void Discover(); | ||||
void StartMapPort(); | void StartMapPort(); | ||||
void InterruptMapPort(); | void InterruptMapPort(); | ||||
void StopMapPort(); | void StopMapPort(); | ||||
unsigned short GetListenPort(); | unsigned short GetListenPort(); | ||||
/** | /** | ||||
* Interface for message handling | * Interface for message handling | ||||
▲ Show 20 Lines • Show All 426 Lines • Show Last 20 Lines |