#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 88 of file net.h.
◆ anonymous enum
Enumerator |
---|
LOCAL_NONE | |
LOCAL_IF | |
LOCAL_BIND | |
LOCAL_UPNP | |
LOCAL_MANUAL | |
LOCAL_MAX | |
Definition at line 500 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()
◆ GetListenPort()
unsigned short GetListenPort |
( |
| ) |
|
◆ GetLocal()
◆ GetLocalAddress()
◆ InterruptMapPort()
void InterruptMapPort |
( |
| ) |
|
◆ IsLimited() [1/2]
◆ IsLimited() [2/2]
◆ IsLocal()
check whether a given address is potentially local
Definition at line 281 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 288 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 295 of file net.cpp.
◆ PoissonNextSend()
int64_t PoissonNextSend |
( |
int64_t |
now, |
|
|
int |
average_interval_seconds |
|
) |
| |
Return a timestamp in the future (in microseconds) for exponentially distributed events.
Definition at line 2900 of file net.cpp.
◆ RemoveLocal()
void RemoveLocal |
( |
const CService & |
addr | ) |
|
◆ SeenLocal()
vote for a local address
Definition at line 268 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 248 of file net.cpp.
◆ StartMapPort()
◆ StopMapPort()
◆ 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 89 of file net.cpp.