|
Electroneum
|
#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"
Go to the source code of this file.
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 | |
| int | main () |
| #define IN_UNIT_TESTS |
Definition at line 29 of file block_weight.cpp.
| #define LONG_TERM_BLOCK_WEIGHT_WINDOW 5000 |
Definition at line 38 of file block_weight.cpp.
| #define PREFIX | ( | hf_version | ) |
Definition at line 132 of file block_weight.cpp.
| #define PREFIX_WINDOW | ( | hf_version, | |
| window ) |
Definition at line 112 of file block_weight.cpp.
| enum test_t |
| Enumerator | |
|---|---|
| test_max | |
| test_lcg | |
| test_min | |
Definition at line 40 of file block_weight.cpp.
| int main | ( | ) |
Definition at line 196 of file block_weight.cpp.
