#include "addrdb.h"
#include "addrman.h"
#include "amount.h"
#include "bloom.h"
#include "compat.h"
#include "hash.h"
#include "limitedmap.h"
#include "netaddress.h"
#include "policy/feerate.h"
#include "protocol.h"
#include "random.h"
#include "streams.h"
#include "sync.h"
#include "uint256.h"
#include "threadinterrupt.h"
#include <atomic>
#include <deque>
#include <stdint.h>
#include <thread>
#include <memory>
#include <condition_variable>
#include <arpa/inet.h>
Go to the source code of this file.
◆ mapMsgCmdSize
◆ NodeId
Definition at line 93 of file net.h.
◆ anonymous enum
Enumerator |
---|
LOCAL_NONE | |
LOCAL_IF | |
LOCAL_BIND | |
LOCAL_UPNP | |
LOCAL_MANUAL | |
LOCAL_MAX | |
Definition at line 471 of file net.h.
◆ AddLocal() [1/2]
◆ AddLocal() [2/2]
◆ AdvertiseLocal()
void AdvertiseLocal |
( |
CNode * |
pnode | ) |
|
◆ BindListenPort()
bool BindListenPort |
( |
const CService & |
bindAddr, |
|
|
std::string & |
strError, |
|
|
bool |
fWhitelisted = false |
|
) |
| |
◆ Discover()
void Discover |
( |
boost::thread_group & |
threadGroup | ) |
|
◆ GetListenPort()
unsigned short GetListenPort |
( |
| ) |
|
◆ GetLocal()
◆ GetLocalAddress()
◆ IsLimited() [1/2]
◆ IsLimited() [2/2]
◆ IsLocal()
check whether a given address is potentially local
Definition at line 283 of file net.cpp.
◆ IsPeerAddrLocalGood()
bool IsPeerAddrLocalGood |
( |
CNode * |
pnode | ) |
|
◆ IsReachable() [1/2]
bool IsReachable |
( |
enum Network |
net | ) |
|
check whether a given network is one we can probably connect to
Definition at line 290 of file net.cpp.
◆ IsReachable() [2/2]
bool IsReachable |
( |
const CNetAddr & |
addr | ) |
|
check whether a given address is in a network we can probably connect to
Definition at line 297 of file net.cpp.
◆ MapPort()
void MapPort |
( |
bool |
fUseUPnP | ) |
|
◆ PoissonNextSend()
int64_t PoissonNextSend |
( |
int64_t |
nNow, |
|
|
int |
average_interval_seconds |
|
) |
| |
Return a timestamp in the future (in microseconds) for exponentially distributed events.
Definition at line 2924 of file net.cpp.
◆ RemoveLocal()
bool RemoveLocal |
( |
const CService & |
addr | ) |
|
◆ SeenLocal()
vote for a local address
Definition at line 270 of file net.cpp.
◆ SetLimited()
void SetLimited |
( |
enum Network |
net, |
|
|
bool |
fLimited = true |
|
) |
| |
Make a particular network entirely off-limits (no automatic connects to it)
Definition at line 250 of file net.cpp.
◆ cs_mapLocalHost
◆ fDiscover
◆ fListen
◆ fRelayTxes
◆ g_connman
◆ mapAlreadyAskedFor
◆ mapLocalHost
◆ strSubVersion
std::string strSubVersion |
Subversion as sent to the P2P network in version
messages.
Definition at line 93 of file net.cpp.