Bitcoin Core  27.99.0
P2P Digital Currency
Functions | Variables
peerman_tests.cpp File Reference
#include <chainparams.h>
#include <node/miner.h>
#include <net_processing.h>
#include <pow.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for peerman_tests.cpp:

Go to the source code of this file.

Functions

static void mineBlock (const node::NodeContext &node, std::chrono::seconds block_time)
 
 BOOST_AUTO_TEST_CASE (connections_desirable_service_flags)
 

Variables

static constexpr int64_t NODE_NETWORK_LIMITED_ALLOW_CONN_BLOCKS = 144
 Window, in blocks, for connecting to NODE_NETWORK_LIMITED peers. More...
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( connections_desirable_service_flags  )

Definition at line 32 of file peerman_tests.cpp.

Here is the call graph for this function:

◆ mineBlock()

static void mineBlock ( const node::NodeContext node,
std::chrono::seconds  block_time 
)
static

Definition at line 19 of file peerman_tests.cpp.

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

Variable Documentation

◆ NODE_NETWORK_LIMITED_ALLOW_CONN_BLOCKS

constexpr int64_t NODE_NETWORK_LIMITED_ALLOW_CONN_BLOCKS = 144
staticconstexpr

Window, in blocks, for connecting to NODE_NETWORK_LIMITED peers.

Definition at line 17 of file peerman_tests.cpp.