Skip to content

Commit

Permalink
LWMA: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
havenprotocol committed Apr 3, 2018
1 parent 3fb8099 commit 2f4dfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_basic/difficulty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ namespace cryptonote {
// See https://github.com/zawy12/difficulty-algorithms/issues/3 for other algos.
// Do not use "if solvetime < 0 then solvetime = 1" which allows a catastrophic exploit.
// T= target_solvetime;
// N=45, 60, 70, 100, 140 for T=600, 240, 120, 90, and 60 respectively.
// N=45, 55, 70, 95, 140 for T=600, 240, 120, 90, and 60 respectively.

const int64_t T = static_cast<int64_t>(target_seconds);
size_t N = DIFFICULTY_WINDOW_V2;
Expand Down

0 comments on commit 2f4dfde

Please sign in to comment.