#include <compat/compat.h>
#include <netmessagemaker.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 <span.h>
#include <sync.h>
#include <util/sock.h>
#include <algorithm>
#include <array>
#include <cassert>
#include <chrono>
#include <condition_variable>
#include <cstdint>
#include <cstring>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
◆ GetRandomNodeEvictionCandidates()
◆ ALL_CONNECTION_TYPES
Initial value:{
}
AddrFetch connections are short lived connections used to solicit addresses from peers.
Inbound connections are those initiated by a peer.
Feeler connections are short-lived connections made to check that a node is alive.
These are the default connections that we use to connect with the network.
We open manual connections to addresses that users explicitly requested via the addnode RPC or the -a...
Private broadcast connections are short-lived and only opened to privacy networks (Tor...
We use block-relay-only connections to help prevent against partition attacks.
Definition at line 143 of file net.h.
◆ ALL_NET_PERMISSION_FLAGS
Initial value:
Definition at line 130 of file net.h.
◆ ALL_NETWORKS
| constexpr auto ALL_NETWORKS |
Initial value:= std::array{
}
A set of addresses that represent the hash of a string or FQDN.
Addresses from these networks are not publicly routable on the global Internet.
Definition at line 153 of file net.h.
◆ ALL_SERVICE_FLAGS
Initial value:
Definition at line 120 of file net.h.