Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:225
bool check_hash(const crypto::hash &hash, difficulty_type difficulty)
checks if a hash fits the given difficulty
Definition: difficulty.cpp:106
difficulty_type next_difficulty(std::vector< std::uint64_t > timestamps, std::vector< difficulty_type > cumulative_difficulties, size_t target_seconds, uint8_t version)
Definition: difficulty.cpp:123
uint8_t version
Definition: blockchain.cpp:86
std::uint64_t difficulty_type
Definition: difficulty.h:41
POD_CLASS hash
Definition: hash.h:46