mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
version.h: separate client, net sections. Move more constants to this file.
* move PROTOCOL_VERSION to version.h * move CLIENT_VERSION* to version.h, make available past cpp stage * clearly separate client, network version portions of version.h
This commit is contained in:
@@ -11,18 +11,8 @@
|
||||
const std::string CLIENT_NAME("Satoshi");
|
||||
|
||||
// Client version number
|
||||
#define CLIENT_VERSION_MAJOR 0
|
||||
#define CLIENT_VERSION_MINOR 6
|
||||
#define CLIENT_VERSION_REVISION 0
|
||||
#define CLIENT_VERSION_BUILD 99
|
||||
#define CLIENT_VERSION_SUFFIX "-beta"
|
||||
|
||||
const int CLIENT_VERSION = 1000000 * CLIENT_VERSION_MAJOR
|
||||
+ 10000 * CLIENT_VERSION_MINOR
|
||||
+ 100 * CLIENT_VERSION_REVISION
|
||||
+ 1 * CLIENT_VERSION_BUILD;
|
||||
|
||||
|
||||
|
||||
// The following part of the code determines the CLIENT_BUILD variable.
|
||||
// Several mechanisms are used for this:
|
||||
|
||||
Reference in New Issue
Block a user