Commit 23f8dd8c authored by presstab's avatar presstab

Bump protocol and client version. Add checkpoints for easier sync.

parent 702d6477
......@@ -80,11 +80,13 @@ static const Checkpoints::CCheckpointData data = {
static Checkpoints::MapCheckpoints mapCheckpointsTestnet =
boost::assign::map_list_of
( 0, uint256S("0x00008f72785c0713a31a5457c4169a17088338540410b548f302c92bc17c1bc1"))
//( 10100, uint256S("0x1333fe57058ec310e4df78d6bbc7609c69298caf04708fef092a5c9d342ed800"))
( 9820, uint256S("0x000007e98d19383421f4ff13528e364edb19cda8c302df0290b2aef16936d9b2"))
( 9950, uint256S("0x000006ef1474fad5c76c503cd6896f6a09339a2c6fb66c7727566380567b1c7b"))
( 10007, uint256S("0x485e03be7d12c2802e0e49f0410011da36d0070746c48fb9bf347eff550943fa"))
;
static const Checkpoints::CCheckpointData dataTestnet = {
&mapCheckpointsTestnet,
1539617020, // * UNIX timestamp of last checkpoint block
1543018925, // * UNIX timestamp of last checkpoint block
10205, // * total number of transactions between genesis and last checkpoint
// (the tx=... number in the SetBestChain debug.log lines)
2000 // * estimated number of transactions per day after checkpoint
......
......@@ -17,7 +17,7 @@
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 12
#define CLIENT_VERSION_REVISION 5
#define CLIENT_VERSION_BUILD 1
#define CLIENT_VERSION_BUILD 99
//! Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
......
......@@ -9,35 +9,36 @@
/**
* network protocol versioning
*/
static const int PROTOCOL_VERSION = 70054;
static const int PROTOCOL_VERSION = 71054;
static const int PROTOCOL_POS_START = 71054;
//! initial 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_PREV = 70052;
static const int MIN_PEER_PROTO_VERSION_CURR = 70053;
static const int MIN_PEER_PROTO_VERSION_PREV = PROTOCOL_POS_START;
static const int MIN_PEER_PROTO_VERSION_CURR = PROTOCOL_POS_START;
//! minimum peer version accepted by legacySigner
static const int MIN_POOL_PEER_PROTO_VERSION = 70052;
static const int MIN_POOL_PEER_PROTO_VERSION = PROTOCOL_POS_START;
//! minimum peer version for masternode budgets
static const int MIN_BUDGET_PEER_PROTO_VERSION = 70052;
static const int MIN_BUDGET_PEER_PROTO_VERSION = PROTOCOL_POS_START;
//! minimum peer version for masternode winner broadcasts
static const int MIN_MNW_PEER_PROTO_VERSION = 70052;
static const int MIN_MNW_PEER_PROTO_VERSION = PROTOCOL_POS_START;
//! 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_PREV = 70052;
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_CURR = 70053;
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_PREV = PROTOCOL_POS_START;
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_CURR = PROTOCOL_POS_START;
//! minimum peer version that can receive systemnode payments
// V1 - Last protocol version before update
// V2 - Newest protocol version
static const int MIN_SYSTEMNODE_PAYMENT_PROTO_VERSION_PREV = 70052;
static const int MIN_SYSTEMNODE_PAYMENT_PROTO_VERSION_CURR = 70053;
static const int MIN_SYSTEMNODE_PAYMENT_PROTO_VERSION_PREV = PROTOCOL_POS_START;
static const int MIN_SYSTEMNODE_PAYMENT_PROTO_VERSION_CURR = PROTOCOL_POS_START;
//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment