Primecoin: Update client version string to 0.0.1

master
Sunny King 2013-07-04 21:23:24 +01:00
parent 722aff648c
commit 37d7d3000a
2 changed files with 14 additions and 6 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Copyright (c) 2013 Primecoin developers
// Distributed under conditional MIT/X11 software license,
// see the accompanying file COPYING.
#include <string>
#include "version.h"
@ -47,9 +48,9 @@ const std::string CLIENT_NAME("Satoshi");
#ifndef BUILD_DESC
# ifdef GIT_COMMIT_ID
# define BUILD_DESC BUILD_DESC_FROM_COMMIT(CLIENT_VERSION_MAJOR, CLIENT_VERSION_MINOR, CLIENT_VERSION_REVISION, CLIENT_VERSION_BUILD, GIT_COMMIT_ID)
# define BUILD_DESC BUILD_DESC_FROM_COMMIT(PRIMECOIN_VERSION_MAJOR, PRIMECOIN_VERSION_MINOR, PRIMECOIN_VERSION_REVISION, PRIMECOIN_VERSION_BUILD, GIT_COMMIT_ID)
# else
# define BUILD_DESC BUILD_DESC_FROM_UNKNOWN(CLIENT_VERSION_MAJOR, CLIENT_VERSION_MINOR, CLIENT_VERSION_REVISION, CLIENT_VERSION_BUILD)
# define BUILD_DESC BUILD_DESC_FROM_UNKNOWN(PRIMECOIN_VERSION_MAJOR, PRIMECOIN_VERSION_MINOR, PRIMECOIN_VERSION_REVISION, PRIMECOIN_VERSION_BUILD)
# endif
#endif

View File

@ -1,6 +1,7 @@
// Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Copyright (c) 2013 Primecoin developers
// Distributed under conditional MIT/X11 software license,
// see the accompanying file COPYING.
#ifndef BITCOIN_VERSION_H
#define BITCOIN_VERSION_H
@ -21,6 +22,12 @@ extern const std::string CLIENT_NAME;
extern const std::string CLIENT_BUILD;
extern const std::string CLIENT_DATE;
// primecoin version - intended for display purpose ONLY
#define PRIMECOIN_VERSION_MAJOR 0
#define PRIMECOIN_VERSION_MINOR 0
#define PRIMECOIN_VERSION_REVISION 1
#define PRIMECOIN_VERSION_BUILD 0
//
// network protocol versioning
//