#include <addrdb.h>
#include <addrman.h>
#include <addrman_impl.h>
#include <chainparams.h>
#include <clientversion.h>
#include <hash.h>
#include <netbase.h>
#include <random.h>
#include <test/data/asmap.raw.h>
#include <test/util/setup_common.h>
#include <util/asmap.h>
#include <util/string.h>
#include <boost/test/unit_test.hpp>
#include <cstdint>
#include <optional>
#include <string>
Go to the source code of this file.
◆ AddrmanToStream()
| static auto AddrmanToStream |
( |
const AddrMan & |
addrman | ) |
|
|
static |
◆ BOOST_AUTO_TEST_CASE() [1/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_evictionworks |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_getaddr |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_new_collisions |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_new_multiplicity |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_noevict |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_penalty_self_announcement |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [7/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_ports |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [8/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_select |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [9/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_select_by_network |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [10/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_select_special |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [11/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_selecttriedcollision |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [12/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_serialization |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [13/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_simple |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [14/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_size |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [15/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_tried_collisions |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [16/24]
| BOOST_AUTO_TEST_CASE |
( |
addrman_update_address |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [17/24]
| BOOST_AUTO_TEST_CASE |
( |
caddrinfo_get_new_bucket |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [18/24]
| BOOST_AUTO_TEST_CASE |
( |
caddrinfo_get_new_bucket_legacy |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [19/24]
| BOOST_AUTO_TEST_CASE |
( |
caddrinfo_get_tried_bucket |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [20/24]
| BOOST_AUTO_TEST_CASE |
( |
caddrinfo_get_tried_bucket_legacy |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [21/24]
| BOOST_AUTO_TEST_CASE |
( |
getaddr_unfiltered |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [22/24]
| BOOST_AUTO_TEST_CASE |
( |
load_addrman |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [23/24]
| BOOST_AUTO_TEST_CASE |
( |
load_addrman_corrupted |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [24/24]
| BOOST_AUTO_TEST_CASE |
( |
remove_invalid |
| ) |
|
◆ FromBytes()
| static std::vector< bool > FromBytes |
( |
std::span< const std::byte > |
source | ) |
|
|
static |
◆ GetCheckRatio()
| static int32_t GetCheckRatio |
( |
const NodeContext & |
node_ctx | ) |
|
|
static |
◆ MakeCorruptPeersDat()
| static auto MakeCorruptPeersDat |
( |
| ) |
|
|
static |
◆ ResolveIP()
| static CNetAddr ResolveIP |
( |
const std::string & |
ip | ) |
|
|
static |
◆ ResolveService()
| static CService ResolveService |
( |
const std::string & |
ip, |
|
|
uint16_t |
port = 0 |
|
) |
| |
|
static |
◆ DETERMINISTIC
| const bool DETERMINISTIC {true} |
|
static |
◆ EMPTY_NETGROUPMAN