diff options
| author | Patrick Lodder <[email protected]> | 2014-04-14 19:50:52 +0400 |
|---|---|---|
| committer | Patrick Lodder <[email protected]> | 2014-04-14 19:50:52 +0400 |
| commit | 38203472530f455e70c6d2a17fc88163159866e9 (patch) | |
| tree | d5d42e30c6005618af2800f440c6747eb2a7a5d7 /src/main.cpp | |
| parent | Merge pull request #462 from janaspage/patch-8 (diff) | |
| download | discoin-38203472530f455e70c6d2a17fc88163159866e9.tar.xz discoin-38203472530f455e70c6d2a17fc88163159866e9.zip | |
removed the "DIGISHIELD RETARGET" message that was spammed in console.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 034c4283e..b5302a9bf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1261,7 +1261,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead { // amplitude filter - thanks to daft27 for this code nActualTimespan = retargetTimespan + (nActualTimespan - retargetTimespan)/8; - printf("DIGISHIELD RETARGET\n"); + if (nActualTimespan < (retargetTimespan - (retargetTimespan/4)) ) nActualTimespan = (retargetTimespan - (retargetTimespan/4)); if (nActualTimespan > (retargetTimespan + (retargetTimespan/2)) ) nActualTimespan = (retargetTimespan + (retargetTimespan/2)); } |