![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#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.
Classes | |
| struct | ConnmanTestMsg |
| class | ZeroSock |
| A mocked Sock alternative that succeeds on all operations. More... | |
| class | StaticContentsSock |
| A mocked Sock alternative that returns a statically contained data upon read and succeeds and ignores all writes. More... | |
| class | DynSock |
| A mocked Sock alternative that allows providing the data to be returned by Recv() and inspecting the data that has been supplied to Send(). More... | |
| class | DynSock::Pipe |
| Unidirectional bytes or CNetMessage queue (FIFO). More... | |
| struct | DynSock::Pipes |
| class | DynSock::Queue |
| A basic thread-safe queue, used for queuing sockets to be returned by Accept(). More... | |
Functions | |
| std::vector< NodeEvictionCandidate > | GetRandomNodeEvictionCandidates (int n_candidates, FastRandomContext &random_context) |
Variables | |
| constexpr ServiceFlags | ALL_SERVICE_FLAGS [] |
| constexpr NetPermissionFlags | ALL_NET_PERMISSION_FLAGS [] |
| constexpr ConnectionType | ALL_CONNECTION_TYPES [] |
| constexpr auto | ALL_NETWORKS |
| std::vector< NodeEvictionCandidate > GetRandomNodeEvictionCandidates | ( | int | n_candidates, |
| FastRandomContext & | random_context ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |