Skip to content

Commit

Permalink
Version 2.2.0 - block halving restored at block height 385000
Browse files Browse the repository at this point in the history
  • Loading branch information
MattF42 committed Aug 17, 2023
1 parent 78e4464 commit 40c7caf
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
</tbody>
</table>

HARD FORK on 18th August 2023 to version 2.1.0.0 Protocol version 70300
HARD FORK on 18th August 2023 to version 2.2.0.1 Protocol version 70301

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 1)
define(_CLIENT_VERSION_MINOR, 2)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 1)
define(_CLIENT_VERSION_IS_RELEASE, true)
Expand Down
2 changes: 1 addition & 1 deletion qa/rpc-tests/test_framework/mininode.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import dash_hash

BIP0031_VERSION = 60000
MY_VERSION = 70300 # current MIN_PEER_PROTO_VERSION
MY_VERSION = 70301 # current MIN_PEER_PROTO_VERSION
MY_SUBVERSION = b"/python-mininode-tester:0.0.2/"

MAX_INV_SZ = 50000
Expand Down
1 change: 1 addition & 0 deletions share/genbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/
LAST_COMMIT_DATE="$(git log -n 1 --format="%ci")"
fi

SUFFIX="-release"
if [ -n "$DESC" ]; then
NEWINFO="#define BUILD_DESC \"$DESC\""
elif [ -n "$SUFFIX" ]; then
Expand Down
4 changes: 2 additions & 2 deletions src/governance-object.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class CGovernanceObject;
class CGovernanceVote;

static const int MAX_GOVERNANCE_OBJECT_DATA_SIZE = 16 * 1024;
static const int MIN_GOVERNANCE_PEER_PROTO_VERSION = 70300;
static const int GOVERNANCE_FILTER_PROTO_VERSION = 70300;
static const int MIN_GOVERNANCE_PEER_PROTO_VERSION = 70301;
static const int GOVERNANCE_FILTER_PROTO_VERSION = 70301;

static const double GOVERNANCE_FILTER_FP_RATE = 0.001;

Expand Down
2 changes: 1 addition & 1 deletion src/instantx.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern CInstantSend instantsend;
static const int INSTANTSEND_CONFIRMATIONS_REQUIRED = 6;
static const int DEFAULT_INSTANTSEND_DEPTH = 5;

static const int MIN_INSTANTSEND_PROTO_VERSION = 70300;
static const int MIN_INSTANTSEND_PROTO_VERSION = 70301;

// For how long we are going to accept votes/locks
// after we saw the first one for a specific transaction
Expand Down
4 changes: 2 additions & 2 deletions src/masternode-payments.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ static const int64_t FOUNDATION = 1000 * COIN; // 1% to Foundation
// vote for masternode and be elected as a payment winner
// V1 - Last protocol version before update
// V2 - Newest protocol version
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_1 = 70300;
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_2 = 70300;
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_1 = 70301;
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_2 = 70301;

extern CCriticalSection cs_vecPayees;
extern CCriticalSection cs_mapMasternodeBlocks;
Expand Down
2 changes: 1 addition & 1 deletion src/privatesend.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static const int PRIVATESEND_QUEUE_TIMEOUT = 30;
static const int PRIVATESEND_SIGNING_TIMEOUT = 15;

//! minimum peer version accepted by mixing pool
static const int MIN_PRIVATESEND_PEER_PROTO_VERSION = 70300;
static const int MIN_PRIVATESEND_PEER_PROTO_VERSION = 70301;

static const CAmount PRIVATESEND_ENTRY_MAX_SIZE = 9;

Expand Down
4 changes: 2 additions & 2 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* network protocol versioning
*/

static const int PROTOCOL_VERSION = 70300;
static const int PROTOCOL_VERSION = 70301;

//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
Expand All @@ -19,7 +19,7 @@ static const int INIT_PROTO_VERSION = 209;
static const int GETHEADERS_VERSION = 70077;

//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 70300;
static const int MIN_PEER_PROTO_VERSION = 70301;

//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
Expand Down

0 comments on commit 40c7caf

Please sign in to comment.