37 #include <boost/multiprecision/cpp_int.hpp> difficulty_type next_difficulty(std::vector< uint64_t > timestamps, std::vector< difficulty_type > cumulative_difficulties, size_t target_seconds, uint8_t version)
Holds cryptonote related classes and helpers.
bool check_hash(const crypto::hash &hash, difficulty_type difficulty)
unsigned __int64 uint64_t
version
Supported socks variants.
bool check_hash_64(const crypto::hash &hash, uint64_t difficulty)
checks if a hash fits the given difficulty
boost::multiprecision::uint128_t difficulty_type
std::string hex(difficulty_type v)
bool check_hash_128(const crypto::hash &hash, difficulty_type difficulty)
uint64_t next_difficulty_64(std::vector< std::uint64_t > timestamps, std::vector< uint64_t > cumulative_difficulties, size_t target_seconds, uint8_t version)