Bitcoin ABC  0.22.13
P2P Digital Currency
Functions
peermanager_tests.cpp File Reference
#include <avalanche/delegationbuilder.h>
#include <avalanche/peermanager.h>
#include <avalanche/proofbuilder.h>
#include <avalanche/test/util.h>
#include <script/standard.h>
#include <validation.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for peermanager_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (select_peer_linear)
 
 BOOST_AUTO_TEST_CASE (select_peer_dichotomic)
 
 BOOST_AUTO_TEST_CASE (select_peer_random)
 
 BOOST_AUTO_TEST_CASE (peer_probabilities)
 
 BOOST_AUTO_TEST_CASE (remove_peer)
 
 BOOST_AUTO_TEST_CASE (compact_slots)
 
 BOOST_AUTO_TEST_CASE (node_crud)
 
 BOOST_AUTO_TEST_CASE (proof_conflict)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( select_peer_linear  )

Definition at line 20 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/8]

BOOST_AUTO_TEST_CASE ( select_peer_dichotomic  )

Definition at line 72 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/8]

BOOST_AUTO_TEST_CASE ( select_peer_random  )

Definition at line 127 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/8]

BOOST_AUTO_TEST_CASE ( peer_probabilities  )

Definition at line 157 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/8]

BOOST_AUTO_TEST_CASE ( remove_peer  )

Definition at line 199 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( compact_slots  )

Definition at line 277 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( node_crud  )

Definition at line 307 of file peermanager_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/8]

BOOST_AUTO_TEST_CASE ( proof_conflict  )

Definition at line 368 of file peermanager_tests.cpp.

Here is the call graph for this function: