Bitcoin ABC 0.30.7
P2P Digital Currency
Functions
proofpool_tests.cpp File Reference
#include <avalanche/proofpool.h>
#include <avalanche/peermanager.h>
#include <avalanche/proofcomparator.h>
#include <key.h>
#include <primitives/transaction.h>
#include <primitives/txid.h>
#include <random.h>
#include <avalanche/test/util.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for proofpool_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (get_proof_ids)
 
 BOOST_AUTO_TEST_CASE (add_remove_proof_no_conflict)
 
 BOOST_AUTO_TEST_CASE (rescan)
 
 BOOST_AUTO_TEST_CASE (proof_override)
 
 BOOST_AUTO_TEST_CASE (conflicting_proofs_set)
 
 BOOST_AUTO_TEST_CASE (get_proof)
 
 BOOST_AUTO_TEST_CASE (get_lowest_score_proof)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( add_remove_proof_no_conflict  )

Definition at line 46 of file proofpool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( conflicting_proofs_set  )

Definition at line 229 of file proofpool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( get_lowest_score_proof  )

Definition at line 343 of file proofpool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( get_proof  )

Definition at line 323 of file proofpool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( get_proof_ids  )

Definition at line 24 of file proofpool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( proof_override  )

Definition at line 149 of file proofpool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( rescan  )

Definition at line 108 of file proofpool_tests.cpp.

Here is the call graph for this function: