Skip to content

Commit

Permalink
Update to CN Lite V1
Browse files Browse the repository at this point in the history
  • Loading branch information
ssldev committed Sep 29, 2018
1 parent 68507d6 commit 320e449
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ set(CRYPTONOTE_SOURCES
cryptonote/external/miniupnpc/receivedata.c
cryptonote/external/miniupnpc/upnpcommands.c
cryptonote/external/miniupnpc/upnpreplyparse.c
cryptonote/src/Common/DnsTools.cpp
cryptonote/src/Common/Base58.cpp
cryptonote/src/Common/CommandLine.cpp
cryptonote/src/Common/Util.cpp
Expand Down
2 changes: 1 addition & 1 deletion CryptoNoteWallet.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(CN_PROJECT_NAME "Nutucoin-GUI")
set(CN_CURRENCY_DISPLAY_NAME "Nutucoin-GUI")
set(CN_CURRENCY_TICKER "NTU")
set(CN_VERSION 1.0.1)
set(CN_VERSION 1.1.0)
2 changes: 1 addition & 1 deletion src/Worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void Worker::run() {
localNonce = ++m_nonce;
localJob.blob.replace(39, sizeof(localNonce), reinterpret_cast<char*>(&localNonce), sizeof(localNonce));
std::memset(&hash, 0, sizeof(hash));
Crypto::cn_slow_hash(context, localJob.blob.data(), localJob.blob.size(), hash);
Crypto::cn_lite_slow_hash_v1(context, localJob.blob.data(), localJob.blob.size(), hash);
++m_hashCounter;
if (Q_UNLIKELY(((quint32*)&hash)[7] < localJob.target)) {
m_observer->processShare(localJob.jobId, localNonce, QByteArray(reinterpret_cast<char*>(&hash), sizeof(hash)));
Expand Down
8 changes: 4 additions & 4 deletions src/cryptonotewallet.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ IDI_ICON1 ICON "images\\nutucoin.ico"

#include <windows.h>

#define VER_FILEVERSION 1,0,0,7
#define VER_FILEVERSION_STR "1.0.0.7\0"
#define VER_PRODUCTVERSION 1,0,1
#define VER_PRODUCTVERSION_STR "1.0.1\0"
#define VER_FILEVERSION 1,1,0,10
#define VER_FILEVERSION_STR "1.1.0.10\0"
#define VER_PRODUCTVERSION 1,1,0
#define VER_PRODUCTVERSION_STR "1.1.0\0"
#define VER_FILEDESCRIPTION_STR "Nutucoin-GUI"
#define VER_INTERNALNAME_STR "Nutucoin-GUI"
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2018, Nutucoin Developers"
Expand Down

0 comments on commit 320e449

Please sign in to comment.