From c57db922bf8821b4c265f34188dab22f8dc113f3 Mon Sep 17 00:00:00 2001 From: CryptoCoderz Date: Tue, 9 Jul 2019 15:43:24 -0700 Subject: [PATCH] DigitalNote v1.0.1.8 Release Changelog - Version bump - Added additional checkpoints - Fixed debug mode error (extra defined value but not used) thank you https://github.com/g1itch for pointing this out in https://github.com/CryptoCoderz/DigitalNote/issues/4 --- DigitalNote.pro | 2 +- src/blockparams.cpp | 2 +- src/checkpoints.cpp | 3 +++ src/clientversion.h | 2 +- src/version.h | 16 ++++++++-------- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/DigitalNote.pro b/DigitalNote.pro index c5174cf1..64f3dfc0 100644 --- a/DigitalNote.pro +++ b/DigitalNote.pro @@ -1,6 +1,6 @@ TEMPLATE = app TARGET = DigitalNote-qt -VERSION = 1.0.1.7 +VERSION = 1.0.1.8 INCLUDEPATH += src src/json src/qt src/qt/plugins/mrichtexteditor QT += core gui widgets network printsupport DEFINES += ENABLE_WALLET diff --git a/src/blockparams.cpp b/src/blockparams.cpp index c84a1b1e..b91636ef 100644 --- a/src/blockparams.cpp +++ b/src/blockparams.cpp @@ -101,7 +101,7 @@ void VRXswngdebug() { // Print for debugging LogPrintf("Previously discovered %s block: %u: \n",difType.c_str(),prvTime); - LogPrintf("Current block-time: %u: \n",difType.c_str(),cntTime); + LogPrintf("Current block-time: %u: \n",cntTime); LogPrintf("Time since last %s block: %u: \n",difType.c_str(),difTime); // Handle updated versions as well as legacy if(GetTime() > nPaymentUpdate_2) { diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index b88cb52e..0deee85b 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -36,6 +36,9 @@ namespace Checkpoints (47500, uint256("0x0cb5289c555684443f303fcc7d1e8608732bdf48d90bca5a14a9b0c709066078")) (47700, uint256("0xf78d6c29f621194e786b4c470278663671c285993869a2d0d59bba31425c9a02")) (65544, uint256("0x000000000049a58f04f1beb0ed6c2e6ab11919b8a4323caee6e9a217c89eff69")) + (66400, uint256("0x8035935fc3b5e8b58ab023336d6f7f1ec35eac9930cdd238ce35771cd7b3964d")) + (67500, uint256("0x4df36f82141ce789aa64d80908aafca145d09f5257ebb3b7550f94e2624a2d98")) + (68200, uint256("0x000000000005ab4fb2fec8705c51aee6b04ebf51f98bca11e61d7f41bcc51e92")) ; // TestNet has no checkpoints diff --git a/src/clientversion.h b/src/clientversion.h index 16424994..0def4b03 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -9,7 +9,7 @@ #define CLIENT_VERSION_MAJOR 1 #define CLIENT_VERSION_MINOR 0 #define CLIENT_VERSION_REVISION 1 -#define CLIENT_VERSION_BUILD 7 +#define CLIENT_VERSION_BUILD 8 // Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true diff --git a/src/version.h b/src/version.h index d9fcd746..8f22f390 100644 --- a/src/version.h +++ b/src/version.h @@ -30,23 +30,23 @@ static const int DATABASE_VERSION = 70509; // // network protocol versioning // -static const int PROTOCOL_VERSION = 62014; +static const int PROTOCOL_VERSION = 62015; // intial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209; // disconnect from peers older than this proto version -static const int MIN_PEER_PROTO_VERSION = 62013; +static const int MIN_PEER_PROTO_VERSION = 62014; // minimum peer version accepted by MNenginePool -static const int MIN_POOL_PEER_PROTO_VERSION = 62013; -static const int MIN_INSTANTX_PROTO_VERSION = 62013; +static const int MIN_POOL_PEER_PROTO_VERSION = 62014; +static const int MIN_INSTANTX_PROTO_VERSION = 62014; //! minimum peer version that can receive masternode payments // V1 - Last protocol version before update // V2 - Newest protocol version -static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_1 = 62013; -static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_2 = 62013; +static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_1 = 62014; +static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_2 = 62014; // nTime field added to CAddress, starting with this version; // if possible, avoid requesting addresses nodes older than this @@ -54,10 +54,10 @@ static const int CADDR_TIME_VERSION = 31402; // only request blocks from nodes outside this range of versions static const int NOBLKS_VERSION_START = 0; -static const int NOBLKS_VERSION_END = 62012; +static const int NOBLKS_VERSION_END = 62013; // hard cutoff time for legacy network connections -static const int64_t HRD_LEGACY_CUTOFF = 1562281200; // ON (Thursday, July 4, 2019 4:00:00 PM GMT-07:00) +static const int64_t HRD_LEGACY_CUTOFF = 9993058800; // OFF (NOT TOGGLED) // hard cutoff time for future network connections static const int64_t HRD_FUTURE_CUTOFF = 9993058800; // OFF (NOT TOGGLED)