Bitcoin Core 28.99.0
P2P Digital Currency
|
List of reachable networks. More...
#include <netbase.h>
Public Member Functions | |
void | Add (Network net) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex) |
void | Remove (Network net) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex) |
void | RemoveAll () EXCLUSIVE_LOCKS_REQUIRED(!m_mutex) |
bool | Contains (Network net) const EXCLUSIVE_LOCKS_REQUIRED(!m_mutex) |
bool | Contains (const CNetAddr &addr) const EXCLUSIVE_LOCKS_REQUIRED(!m_mutex) |
std::unordered_set< Network > | All () const EXCLUSIVE_LOCKS_REQUIRED(!m_mutex) |
Private Member Functions | |
std::unordered_set< Network > m_reachable | GUARDED_BY (m_mutex) |
Private Attributes | |
Mutex | m_mutex |
List of reachable networks.
Everything is reachable by default.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |