Bitcoin ABC 0.30.7
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 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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( deserialization  )

Definition at line 82 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( deterministic_proofid  )

Definition at line 876 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( get_staked_amount  )

Definition at line 902 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( proof_random  )

Definition at line 25 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( proofbuilder  )

Definition at line 45 of file proof_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( verify  )

Definition at line 645 of file proof_tests.cpp.

Here is the call graph for this function: