From 3dd431b8c68425e3b2a3b3858ee49b0e3956278c Mon Sep 17 00:00:00 2001 From: CryptoCoderz Date: Fri, 19 Jul 2019 14:58:54 -0700 Subject: [PATCH] DigitalNote v1.0.2.0 Release Changelog - Version bump - Re-enabled Ping timeout check - Includes fix for socket send error --- DigitalNote.pro | 2 +- src/clientversion.h | 4 ++-- src/net.cpp | 6 +++--- src/version.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DigitalNote.pro b/DigitalNote.pro index dc621372..22e32a6b 100644 --- a/DigitalNote.pro +++ b/DigitalNote.pro @@ -1,6 +1,6 @@ TEMPLATE = app TARGET = DigitalNote-qt -VERSION = 1.0.1.9 +VERSION = 1.0.2.0 INCLUDEPATH += src src/json src/qt src/qt/plugins/mrichtexteditor QT += core gui widgets network printsupport DEFINES += ENABLE_WALLET diff --git a/src/clientversion.h b/src/clientversion.h index 35d0c852..dc3aa018 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -8,8 +8,8 @@ // These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 1 #define CLIENT_VERSION_MINOR 0 -#define CLIENT_VERSION_REVISION 1 -#define CLIENT_VERSION_BUILD 9 +#define CLIENT_VERSION_REVISION 2 +#define CLIENT_VERSION_BUILD 0 // Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true diff --git a/src/net.cpp b/src/net.cpp index ee18ab14..028a2e22 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1283,13 +1283,13 @@ void ThreadSocketHandler() pnode->fDisconnect = true; pnode->CloseSocketDisconnect(); } - // Ping timeout - TODO Investigate this section and correct cause of Log spam during disconnect - /*else if (pnode->nPingNonceSent && pnode->nPingUsecStart + TIMEOUT_INTERVAL * 1000000 < GetTimeMicros()) + // Ping timeout - TODO : Review function + else if (pnode->nPingNonceSent && pnode->nPingUsecStart + TIMEOUT_INTERVAL * 1000000 < GetTimeMicros()) { LogPrintf("ping timeout: %fs\n", 0.000001 * (GetTimeMicros() - pnode->nPingUsecStart)); pnode->fDisconnect = true; pnode->CloseSocketDisconnect(); - }*/ + } } } { diff --git a/src/version.h b/src/version.h index 48362c8d..7d21e888 100644 --- a/src/version.h +++ b/src/version.h @@ -30,7 +30,7 @@ static const int DATABASE_VERSION = 70509; // // network protocol versioning // -static const int PROTOCOL_VERSION = 62016; +static const int PROTOCOL_VERSION = 62017; // intial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209;