From 64e8cbc66130720d91aac0e93878562183702065 Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Thu, 5 Feb 2015 17:16:43 -0700 Subject: [PATCH] version/protocol bump --- configure.ac | 2 +- src/clientversion.h | 2 +- src/core.h | 9 +++++++-- src/darksend.h | 2 +- src/instantx.h | 2 +- src/version.h | 2 +- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index fa5c49782e..9b17c6dea3 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.60]) define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MINOR, 11) define(_CLIENT_VERSION_REVISION, 1) -define(_CLIENT_VERSION_BUILD, 10) +define(_CLIENT_VERSION_BUILD, 11) define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2015) AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin]) diff --git a/src/clientversion.h b/src/clientversion.h index 54c886b34e..ebdad62abd 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -12,7 +12,7 @@ #define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MINOR 11 #define CLIENT_VERSION_REVISION 1 -#define CLIENT_VERSION_BUILD 10 +#define CLIENT_VERSION_BUILD 11 diff --git a/src/core.h b/src/core.h index c26d9a2d0a..41b1d2d8d2 100644 --- a/src/core.h +++ b/src/core.h @@ -19,8 +19,13 @@ static const int64_t DARKSEND_COLLATERAL = (0.1*COIN); static const int64_t DARKSEND_FEE = (0.0125*COIN); static const int64_t DARKSEND_POOL_MAX = (999.99*COIN); -#define INSTANTX_SIGNATURES_REQUIRED 6 -#define INSTANTX_SIGNATURES_TOTAL 10 +/* + At 15 signatures, 1/2 of the masternode network can be owned by + one party without comprimising the security of InstantX + (1000/2150.0)**15 = 1.031e-05 +*/ +#define INSTANTX_SIGNATURES_REQUIRED 15 +#define INSTANTX_SIGNATURES_TOTAL 20 #define MASTERNODE_NOT_PROCESSED 0 // initial state #define MASTERNODE_IS_CAPABLE 1 diff --git a/src/darksend.h b/src/darksend.h index 1b4a2e68c6..06717395e5 100644 --- a/src/darksend.h +++ b/src/darksend.h @@ -222,7 +222,7 @@ class CDarksendSession class CDarkSendPool { public: - static const int MIN_PEER_PROTO_VERSION = 70060; + static const int MIN_PEER_PROTO_VERSION = 70061; // clients entries std::vector myEntries; diff --git a/src/instantx.h b/src/instantx.h index 4b1500e6ea..2308d62168 100644 --- a/src/instantx.h +++ b/src/instantx.h @@ -23,7 +23,7 @@ class CConsensusVote; class CTransaction; class CTransactionLock; -static const int MIN_INSTANTX_PROTO_VERSION = 70060; +static const int MIN_INSTANTX_PROTO_VERSION = 70061; extern map mapTxLockReq; extern map mapTxLocks; diff --git a/src/version.h b/src/version.h index 7a7b2e40f3..8d3daa41e0 100644 --- a/src/version.h +++ b/src/version.h @@ -27,7 +27,7 @@ extern const std::string CLIENT_DATE; // network protocol versioning // -static const int PROTOCOL_VERSION = 70060; +static const int PROTOCOL_VERSION = 70061; // intial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209;