Bitcoin ABC 0.30.5
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 239 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 592 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 227 of file grasberg_tests.cpp.

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