diff options
author | Javier Smooth <iamjaviersmooth@gmail.com> | 2015-11-13 00:24:47 -0800 |
---|---|---|
committer | Javier Smooth <iamjaviersmooth@gmail.com> | 2015-11-13 00:37:35 -0800 |
commit | baf101ef4a05ae4d24ed717c16be929456775969 (patch) | |
tree | 807afcbc2d1faf2f792a774d72a62ee835934092 /src/cryptonote_core/difficulty.h | |
parent | Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block v... (diff) | |
download | monero-baf101ef4a05ae4d24ed717c16be929456775969.tar.xz |
More changes for 2-min blocks
Use the correct block time for realtime fuzz on locktime
Use the correct block time to calculate next_difficulty on alt chains (will not work as-is with voting)
Lock unit tests to original block time for now
Diffstat (limited to 'src/cryptonote_core/difficulty.h')
-rw-r--r-- | src/cryptonote_core/difficulty.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cryptonote_core/difficulty.h b/src/cryptonote_core/difficulty.h index 42d2df500..6e06dd702 100644 --- a/src/cryptonote_core/difficulty.h +++ b/src/cryptonote_core/difficulty.h @@ -40,6 +40,5 @@ namespace cryptonote typedef std::uint64_t difficulty_type; bool check_hash(const crypto::hash &hash, difficulty_type difficulty); - difficulty_type next_difficulty(std::vector<std::uint64_t> timestamps, std::vector<difficulty_type> cumulative_difficulties); difficulty_type next_difficulty(std::vector<std::uint64_t> timestamps, std::vector<difficulty_type> cumulative_difficulties, size_t target_seconds); } |