Bitcoin ABC  0.24.7
P2P Digital Currency
Functions
grasberg_tests.cpp File Reference
#include <pow/grasberg.h>
#include <chain.h>
#include <chainparams.h>
#include <test/lcg.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <cmath>
Include dependency graph for grasberg_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (exp2_test)
 
 BOOST_AUTO_TEST_CASE (target_block_time_test)
 
static CBlockIndex GetBlockIndex (CBlockIndex *pindexPrev, int64_t nTimeInterval, uint32_t nBits)
 
 BOOST_AUTO_TEST_CASE (grasberg_test)
 
 BOOST_AUTO_TEST_CASE (testnet_difficulty_drop_test)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( exp2_test  )

Definition at line 21 of file grasberg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( grasberg_test  )

Definition at line 238 of file grasberg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( target_block_time_test  )

Definition at line 150 of file grasberg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( testnet_difficulty_drop_test  )

Definition at line 590 of file grasberg_tests.cpp.

Here is the call graph for this function:

◆ GetBlockIndex()

static CBlockIndex GetBlockIndex ( CBlockIndex pindexPrev,
int64_t  nTimeInterval,
uint32_t  nBits 
)
static

Definition at line 226 of file grasberg_tests.cpp.

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