|
Monero
|
#include "gtest/gtest.h"#include "misc_log_ex.h"#include "rpc/rpc_handler.h"#include "blockchain_db/blockchain_db.h"#include "cryptonote_core/cryptonote_core.h"#include "cryptonote_core/tx_pool.h"#include "cryptonote_core/blockchain.h"#include "blockchain_db/testdb.h"
Functions | |
| bool | get_output_distribution (uint64_t amount, uint64_t from, uint64_t to, uint64_t &start_height, std::vector< uint64_t > &distribution, uint64_t &base) |
| crypto::hash | get_block_hash (uint64_t height) |
| TEST (output_distribution, extend) | |
| TEST (output_distribution, one) | |
| TEST (output_distribution, full_cumulative) | |
| TEST (output_distribution, full_noncumulative) | |
| TEST (output_distribution, part_cumulative) | |
| TEST (output_distribution, part_noncumulative) | |
Variables | |
| static const uint64_t | test_distribution [32] |
| static const size_t | test_distribution_size = sizeof(test_distribution) / sizeof(test_distribution[0]) |
| crypto::hash get_block_hash | ( | uint64_t | height | ) |
| bool get_output_distribution | ( | uint64_t | amount, |
| uint64_t | from, | ||
| uint64_t | to, | ||
| uint64_t & | start_height, | ||
| std::vector< uint64_t > & | distribution, | ||
| uint64_t & | base ) |
| TEST | ( | output_distribution | , |
| extend | ) |
| TEST | ( | output_distribution | , |
| full_cumulative | ) |
| TEST | ( | output_distribution | , |
| full_noncumulative | ) |
| TEST | ( | output_distribution | , |
| one | ) |
| TEST | ( | output_distribution | , |
| part_cumulative | ) |
| TEST | ( | output_distribution | , |
| part_noncumulative | ) |
|
static |