![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "fs.h"#include "scheduler.h"#include "txdb.h"#include <stdexcept>#include <boost/thread.hpp>Go to the source code of this file.
Classes | |
| struct | BasicTestingSetup |
| Basic testing setup. More... | |
| struct | TestingSetup |
| struct | TestnetSetup |
| struct | RegTestingSetup |
| struct | TestChainSetup |
| struct | TestChain100Setup |
| struct | TestChain400Setup |
| struct | TestMemPoolEntryHelper |
| class | HasReason |
| BOOST_CHECK_EXCEPTION predicates to check the specific validation error. More... | |
Enumerations | |
| enum class | SeedRand { ZEROS , SEED } |
Functions | |
| void | Seed (FastRandomContext &ctx) |
| Seed the given random ctx or use the seed passed in via an environment var. More... | |
| std::shared_ptr< CBlock > | FinalizeBlock (std::shared_ptr< CBlock > pblock) |
| std::ostream & | operator<< (std::ostream &os, const uint256 &num) |
Variables | |
| FastRandomContext | g_insecure_rand_ctx |
| bool | g_mock_deterministic_tests |
| Flag to make GetRand in random.h return the same number. More... | |
|
strong |
| Enumerator | |
|---|---|
| ZEROS | Seed with a compile time constant of zeros. |
| SEED | Call the Seed() helper. |
Definition at line 23 of file test_pivx.h.
Definition at line 239 of file test_pivx.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const uint256 & | num | ||
| ) |
| void Seed | ( | FastRandomContext & | ctx | ) |
Seed the given random ctx or use the seed passed in via an environment var.
Definition at line 47 of file test_pivx.cpp.
|
extern |
Definition at line 35 of file test_pivx.cpp.
|
extern |
Flag to make GetRand in random.h return the same number.
Definition at line 584 of file random.cpp.