Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
denialofservice_tests.cpp File Reference
#include <banman.h>
#include <chainparams.h>
#include <common/args.h>
#include <net.h>
#include <net_processing.h>
#include <pubkey.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <serialize.h>
#include <test/util/net.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/string.h>
#include <util/time.h>
#include <validation.h>
#include <array>
#include <cstdint>
#include <boost/test/unit_test.hpp>
Include dependency graph for denialofservice_tests.cpp:

Go to the source code of this file.

Classes

struct  OutboundTest

Functions

static CService ip (uint32_t i)
 BOOST_AUTO_TEST_CASE (outbound_slow_chain_eviction)
 BOOST_FIXTURE_TEST_CASE (stale_tip_peer_management, OutboundTest)
 BOOST_FIXTURE_TEST_CASE (block_relay_only_eviction, OutboundTest)
 BOOST_AUTO_TEST_CASE (peer_discouragement)
 BOOST_AUTO_TEST_CASE (DoS_bantime)

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( DoS_bantime )

Definition at line 405 of file denialofservice_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( outbound_slow_chain_eviction )

Definition at line 45 of file denialofservice_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( peer_discouragement )

Definition at line 301 of file denialofservice_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( block_relay_only_eviction ,
OutboundTest  )

Definition at line 242 of file denialofservice_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( stale_tip_peer_management ,
OutboundTest  )

Definition at line 144 of file denialofservice_tests.cpp.

Here is the call graph for this function:

◆ ip()

CService ip ( uint32_t i)
static

Definition at line 28 of file denialofservice_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: