|
Monero
|
#include "gtest/gtest.h"#include "cryptonote_core/blockchain.h"#include "cryptonote_core/tx_pool.h"#include "cryptonote_core/cryptonote_core.h"#include "blockchain_db/testdb.h"
Classes | |
| struct | BlockchainAndPool |
Macros | |
| #define | IN_UNIT_TESTS |
| #define | TEST_LONG_TERM_BLOCK_WEIGHT_WINDOW 5000 |
| #define | PREFIX_WINDOW(hf_version, window) |
| #define | PREFIX(hf_version) |
Functions | |
| TEST (long_term_block_weight, empty_short) | |
| TEST (long_term_block_weight, identical_before_fork) | |
| TEST (long_term_block_weight, identical_after_fork_before_long_term_window) | |
| TEST (long_term_block_weight, ceiling_at_30000000) | |
| TEST (long_term_block_weight, multi_pop) | |
| TEST (long_term_block_weight, multiple_updates) | |
| TEST (long_term_block_weight, pop_invariant_max) | |
| TEST (long_term_block_weight, pop_invariant_random) | |
| TEST (long_term_block_weight, long_growth_spike_and_drop) | |
| TEST (long_term_block_weight, cache_matches_true_value) | |
| #define IN_UNIT_TESTS |
| #define PREFIX | ( | hf_version | ) |
| #define PREFIX_WINDOW | ( | hf_version, | |
| window ) |
| #define TEST_LONG_TERM_BLOCK_WEIGHT_WINDOW 5000 |
| TEST | ( | long_term_block_weight | , |
| cache_matches_true_value | ) |
| TEST | ( | long_term_block_weight | , |
| ceiling_at_30000000 | ) |
| TEST | ( | long_term_block_weight | , |
| empty_short | ) |
| TEST | ( | long_term_block_weight | , |
| identical_after_fork_before_long_term_window | ) |
| TEST | ( | long_term_block_weight | , |
| identical_before_fork | ) |
| TEST | ( | long_term_block_weight | , |
| long_growth_spike_and_drop | ) |
| TEST | ( | long_term_block_weight | , |
| multi_pop | ) |
| TEST | ( | long_term_block_weight | , |
| multiple_updates | ) |
| TEST | ( | long_term_block_weight | , |
| pop_invariant_max | ) |
| TEST | ( | long_term_block_weight | , |
| pop_invariant_random | ) |