2012-04-07 02:06:53 +02:00
|
|
|
// Copyright (c) 2012 The Bitcoin developers
|
|
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
|
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_VERSION_H
|
|
|
|
#define BITCOIN_VERSION_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2012-04-12 18:23:58 +02:00
|
|
|
//
|
|
|
|
// client versioning
|
|
|
|
//
|
|
|
|
|
|
|
|
static const int CLIENT_VERSION_MAJOR = 0;
|
|
|
|
static const int CLIENT_VERSION_MINOR = 6;
|
|
|
|
static const int CLIENT_VERSION_REVISION = 0;
|
|
|
|
static const int CLIENT_VERSION_BUILD = 99;
|
|
|
|
|
|
|
|
static const int CLIENT_VERSION =
|
|
|
|
1000000 * CLIENT_VERSION_MAJOR
|
|
|
|
+ 10000 * CLIENT_VERSION_MINOR
|
|
|
|
+ 100 * CLIENT_VERSION_REVISION
|
|
|
|
+ 1 * CLIENT_VERSION_BUILD;
|
|
|
|
|
2012-04-07 02:06:53 +02:00
|
|
|
extern const std::string CLIENT_NAME;
|
|
|
|
extern const std::string CLIENT_BUILD;
|
|
|
|
extern const std::string CLIENT_DATE;
|
2012-04-12 18:23:58 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// network protocol versioning
|
|
|
|
//
|
|
|
|
|
|
|
|
static const int PROTOCOL_VERSION = 60000;
|
2012-04-07 02:06:53 +02:00
|
|
|
|
2012-04-11 18:38:03 +02:00
|
|
|
// BIP 0031, pong message, is enabled for all versions AFTER this one
|
2012-04-12 18:23:58 +02:00
|
|
|
static const int BIP0031_VERSION = 60000;
|
2012-04-11 18:38:03 +02:00
|
|
|
|
2012-04-07 02:06:53 +02:00
|
|
|
#endif
|