aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/difficulty.cpp
diff options
context:
space:
mode:
authorJavier Smooth <iamjaviersmooth@gmail.com>2015-11-13 00:24:47 -0800
committerJavier Smooth <iamjaviersmooth@gmail.com>2015-11-13 00:37:35 -0800
commitbaf101ef4a05ae4d24ed717c16be929456775969 (patch)
tree807afcbc2d1faf2f792a774d72a62ee835934092 /src/cryptonote_core/difficulty.cpp
parentAdjust difficulty target (2 min) and full reward zone (60 kbytes) for block v... (diff)
downloadmonero-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.cpp')
-rw-r--r--src/cryptonote_core/difficulty.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cryptonote_core/difficulty.cpp b/src/cryptonote_core/difficulty.cpp
index 2b5466791..3c3f1dec1 100644
--- a/src/cryptonote_core/difficulty.cpp
+++ b/src/cryptonote_core/difficulty.cpp
@@ -157,8 +157,4 @@ namespace cryptonote {
return (low + time_span - 1) / time_span;
}
- difficulty_type next_difficulty(vector<uint64_t> timestamps, vector<difficulty_type> cumulative_difficulties)
- {
- return next_difficulty(std::move(timestamps), std::move(cumulative_difficulties), DIFFICULTY_TARGET);
- }
}