Skip to content

Commit

Permalink
Create client release information
Browse files Browse the repository at this point in the history
Set to false during dev.
  • Loading branch information
Tranz5 committed May 17, 2014
1 parent bbc8f32 commit 8e7af41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/clientversion.h
Expand Up @@ -11,6 +11,9 @@
#define CLIENT_VERSION_REVISION 2
#define CLIENT_VERSION_BUILD 0

// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE false

// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
#define STRINGIZE(X) DO_STRINGIZE(X)
Expand Down
3 changes: 3 additions & 0 deletions src/main.cpp
Expand Up @@ -2803,6 +2803,9 @@ string GetWarnings(string strFor)
if (GetBoolArg("-testsafemode"))
strRPC = "test";

if (!CLIENT_VERSION_IS_RELEASE)
strStatusBar = _("This is a pre-release test build - use at your own risk - do not use for mining or merchant applications");

// ppcoin: wallet lock warning for minting
if (strMintWarning != "")
{
Expand Down

0 comments on commit 8e7af41

Please sign in to comment.