Monero
Loading...
Searching...
No Matches
test_check_hash< hash_target_high, hash_target_low, difficulty_high, difficulty_low > Class Template Reference

#include <check_hash.h>

Public Member Functions

bool init ()
bool test ()

Static Public Attributes

static const size_t loop_count = 100000

Private Attributes

crypto::hash hash
cryptonote::difficulty_type difficulty

Member Function Documentation

◆ init()

template<uint64_t hash_target_high, uint64_t hash_target_low, uint64_t difficulty_high, uint64_t difficulty_low>
bool test_check_hash< hash_target_high, hash_target_low, difficulty_high, difficulty_low >::init ( )
inline

◆ test()

template<uint64_t hash_target_high, uint64_t hash_target_low, uint64_t difficulty_high, uint64_t difficulty_low>
bool test_check_hash< hash_target_high, hash_target_low, difficulty_high, difficulty_low >::test ( )
inline

Member Data Documentation

◆ difficulty

template<uint64_t hash_target_high, uint64_t hash_target_low, uint64_t difficulty_high, uint64_t difficulty_low>
cryptonote::difficulty_type test_check_hash< hash_target_high, hash_target_low, difficulty_high, difficulty_low >::difficulty
private

◆ hash

template<uint64_t hash_target_high, uint64_t hash_target_low, uint64_t difficulty_high, uint64_t difficulty_low>
crypto::hash test_check_hash< hash_target_high, hash_target_low, difficulty_high, difficulty_low >::hash
private

◆ loop_count

template<uint64_t hash_target_high, uint64_t hash_target_low, uint64_t difficulty_high, uint64_t difficulty_low>
const size_t test_check_hash< hash_target_high, hash_target_low, difficulty_high, difficulty_low >::loop_count = 100000
static

The documentation for this class was generated from the following file: