Go to the source code of this file.
- Author
- Christoph Jentzsch cj@et.nosp@m.hdev.nosp@m..com
- Date
- 2015 difficulty calculation tests.
Definition in file difficulty.cpp.
BOOST_AUTO_TEST_CASE |
( |
difficultyTestsFrontier |
| ) |
|
BOOST_AUTO_TEST_CASE |
( |
difficultyTestsRopsten |
| ) |
|
BOOST_AUTO_TEST_CASE |
( |
difficultyTestsHomestead |
| ) |
|
BOOST_AUTO_TEST_CASE |
( |
difficultyTestsMainNetwork |
| ) |
|
BOOST_AUTO_TEST_CASE |
( |
difficultyTestsCustomMainNetwork |
| ) |
|
BOOST_AUTO_TEST_CASE |
( |
basicDifficultyTest |
| ) |
|
void fillDifficulty |
( |
string const & |
_testFileFullName, |
|
|
Ethash & |
_sealEngine |
|
) |
| |
void testDifficulty |
( |
string const & |
_testFileFullName, |
|
|
Ethash & |
_sealEngine, |
|
|
Network |
_n |
|
) |
| |
std::string const c_testDifficulty |
Initial value:= R"(
"DifficultyTest[N]" : {
"parentTimestamp" : "[PSTAMP]",
"parentDifficulty" : "[PDIFF]",
"currentTimestamp" : "[СSTAMP]",
"currentBlockNumber" : "[CNUM]",
"currentDifficulty" : "[CDIFF]"
},
)"
Definition at line 34 of file difficulty.cpp.