|
Monero
|
#include <algorithm>#include <cassert>#include <cstddef>#include <cstdint>#include <vector>#include "common/int-util.h"#include "crypto/hash.h"#include "cryptonote_config.h"#include "difficulty.h"
Namespaces | |
| cryptonote | |
| Holds cryptonote related classes and helpers. | |
Macros | |
| #define | MONERO_DEFAULT_LOG_CATEGORY "difficulty" |
Functions | |
| static void | cryptonote::mul (uint64_t a, uint64_t b, uint64_t &low, uint64_t &high) |
| static bool | cryptonote::cadd (uint64_t a, uint64_t b) |
| static bool | cryptonote::cadc (uint64_t a, uint64_t b, bool c) |
| bool | cryptonote::check_hash (const crypto::hash &hash, difficulty_type difficulty) |
| checks if a hash fits the given difficulty More... | |
| difficulty_type | cryptonote::next_difficulty (std::vector< std::uint64_t > timestamps, std::vector< difficulty_type > cumulative_difficulties, size_t target_seconds) |
| #define MONERO_DEFAULT_LOG_CATEGORY "difficulty" |
1.8.14