Bitcoin ABC 0.33.10
P2P Digital Currency
Classes | Functions
proof_tests.cpp File Reference
#include <avalanche/proof.h>
#include <avalanche/proofbuilder.h>
#include <avalanche/test/util.h>
#include <avalanche/validation.h>
#include <coins.h>
#include <script/standard.h>
#include <util/strencodings.h>
#include <util/translation.h>
#include <validation.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <limits>
Include dependency graph for proof_tests.cpp:

Go to the source code of this file.

Classes

struct  TestVector
 

Functions

 BOOST_AUTO_TEST_CASE (proof_random)
 
 BOOST_AUTO_TEST_CASE (proofbuilder)
 
 BOOST_AUTO_TEST_CASE (deserialization)
 
 BOOST_AUTO_TEST_CASE (verify)
 
 BOOST_AUTO_TEST_CASE (deterministic_proofid)
 
 BOOST_AUTO_TEST_CASE (get_staked_amount)
 
 BOOST_AUTO_TEST_CASE (amount_to_score)
 
 BOOST_AUTO_TEST_CASE (stake_amount_overflow)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( amount_to_score  )

Definition at line 929 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/8]

BOOST_AUTO_TEST_CASE ( deserialization  )

Definition at line 87 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/8]

BOOST_AUTO_TEST_CASE ( deterministic_proofid  )

Definition at line 883 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/8]

BOOST_AUTO_TEST_CASE ( get_staked_amount  )

Definition at line 909 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/8]

BOOST_AUTO_TEST_CASE ( proof_random  )

Definition at line 27 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( proofbuilder  )

Definition at line 50 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( stake_amount_overflow  )

Definition at line 940 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/8]

BOOST_AUTO_TEST_CASE ( verify  )

Definition at line 652 of file proof_tests.cpp.

Here is the call graph for this function: