|
Monero
|
#include <stdio.h>#include <math.h>#include "cryptonote_core/blockchain.h"#include "cryptonote_core/tx_pool.h"#include "cryptonote_core/cryptonote_core.h"#include "blockchain_db/testdb.h"
Macros | |
| #define | IN_UNIT_TESTS |
| #define | LONG_TERM_BLOCK_WEIGHT_WINDOW 5000 |
| #define | PREFIX_WINDOW(hf_version, window) |
| #define | PREFIX(hf_version) |
Enumerations | |
| enum | test_t { test_max = 0 , test_lcg = 1 , test_min = 2 } |
Functions | |
| static uint32_t | lcg () |
| static void | test (test_t t, uint64_t blocks) |
| int | main () |
Variables | |
| static uint32_t | lcg_seed = 0 |
| #define IN_UNIT_TESTS |
| #define LONG_TERM_BLOCK_WEIGHT_WINDOW 5000 |
| #define PREFIX | ( | hf_version | ) |
| #define PREFIX_WINDOW | ( | hf_version, | |
| window ) |
| enum test_t |
|
static |
| int main | ( | ) |
|
static |