#include <compat/compat.h>
#include <net.h>
#include <net_permissions.h>
#include <net_processing.h>
#include <netaddress.h>
#include <node/connection_types.h>
#include <node/eviction.h>
#include <sync.h>
#include <util/sock.h>
#include <algorithm>
#include <array>
#include <cassert>
#include <chrono>
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
◆ GetRandomNodeEvictionCandidates()
◆ ALL_CONNECTION_TYPES
Initial value:{
}
@ BLOCK_RELAY
We use block-relay-only connections to help prevent against partition attacks.
@ MANUAL
We open manual connections to addresses that users explicitly requested via the addnode RPC or the -a...
@ OUTBOUND_FULL_RELAY
These are the default connections that we use to connect with the network.
@ FEELER
Feeler connections are short-lived connections made to check that a node is alive.
@ INBOUND
Inbound connections are those initiated by a peer.
@ ADDR_FETCH
AddrFetch connections are short lived connections used to solicit addresses from peers.
Definition at line 117 of file net.h.
◆ ALL_NET_PERMISSION_FLAGS
Initial value:
Definition at line 104 of file net.h.
◆ ALL_NETWORKS
constexpr auto ALL_NETWORKS |
|
constexpr |
Initial value:= std::array{
}
@ NET_ONION
TOR (v2 or v3)
@ NET_UNROUTABLE
Addresses from these networks are not publicly routable on the global Internet.
@ NET_INTERNAL
A set of addresses that represent the hash of a string or FQDN.
Definition at line 126 of file net.h.
◆ ALL_SERVICE_FLAGS
Initial value:
Definition at line 94 of file net.h.