Electroneum
pruning.cpp File Reference
#include "cryptonote_config.h"
#include "misc_log_ex.h"
#include "crypto/crypto.h"
#include "pruning.h"
Include dependency graph for pruning.cpp:

Go to the source code of this file.

Namespaces

 tools
 Various Tools.
 

Functions

uint32_t tools::make_pruning_seed (uint32_t stripe, uint32_t log_stripes)
 
bool tools::has_unpruned_block (uint64_t block_height, uint64_t blockchain_height, uint32_t pruning_seed)
 
uint32_t tools::get_pruning_stripe (uint64_t block_height, uint64_t blockchain_height, uint32_t log_stripes)
 
uint32_t tools::get_pruning_seed (uint64_t block_height, uint64_t blockchain_height, uint32_t log_stripes)
 
uint64_t tools::get_next_unpruned_block_height (uint64_t block_height, uint64_t blockchain_height, uint32_t pruning_seed)
 
uint64_t tools::get_next_pruned_block_height (uint64_t block_height, uint64_t blockchain_height, uint32_t pruning_seed)
 
uint32_t tools::get_random_stripe ()