55 difficulty_type next_difficulty(std::vector<std::uint64_t> timestamps, std::vector<difficulty_type> cumulative_difficulties,
size_t target_seconds);
difficulty_type next_difficulty(std::vector< std::uint64_t > timestamps, std::vector< difficulty_type > cumulative_difficulties, size_t target_seconds)
Definition: difficulty.cpp:122
Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:224
bool check_hash(const crypto::hash &hash, difficulty_type difficulty)
checks if a hash fits the given difficulty
Definition: difficulty.cpp:105
std::uint64_t difficulty_type
Definition: difficulty.h:40
POD_CLASS hash
Definition: hash.h:49