Skip to content

Commit

Permalink
New version message and back to 30 second minimum default
Browse files Browse the repository at this point in the history
  • Loading branch information
catcoiner committed Jul 11, 2015
1 parent 14862b1 commit d5ac954
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/clientversion.h
Expand Up @@ -9,14 +9,14 @@
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 9
#define CLIENT_VERSION_REVISION 2
#define CLIENT_VERSION_BUILD 3
#define CLIENT_VERSION_BUILD 4

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

// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2014
#define COPYRIGHT_YEAR 2015

// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
Expand Down
2 changes: 1 addition & 1 deletion src/init.cpp
Expand Up @@ -623,7 +623,7 @@ bool AppInit2(boost::thread_group& threadGroup)
extern int64 nMinBlockTime;
if (mapArgs.count("-minblocktime"))
{
int nNewMin = GetArg("-minblocktime", 180);
int nNewMin = GetArg("-minblocktime", 30);
if (nNewMin > 0 && nNewMin < 15*60){
nMinBlockTime = nNewMin;
InitWarning(strprintf(_("HARD minimum block time (nMinBlockTime) set to %d"), nMinBlockTime));
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -1075,7 +1075,7 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
static const int64 nTargetTimespan = 6 * 60 * 60; // 6 hours
static const int64 nTargetSpacing = 10 * 60;
static const int64 nInterval = nTargetTimespan / nTargetSpacing;
int64 nMinBlockTime = 180; // Absolute minimum spacing
int64 nMinBlockTime = 30; // Absolute minimum spacing

static const int64 nTargetTimespanOld = 14 * 24 * 60 * 60; // two weeks
static const int64 nIntervalOld = nTargetTimespanOld / nTargetSpacing;
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Expand Up @@ -8,7 +8,7 @@
// Name of client reported in the 'version' message. Report the same name
// for both bitcoind and bitcoin-qt, to make it harder for attackers to
// target servers or GUI users specifically.
const std::string CLIENT_NAME("Satoshi");
const std::string CLIENT_NAME("Catcoin");

// Client version number
#define CLIENT_VERSION_SUFFIX "-beta"
Expand Down

0 comments on commit d5ac954

Please sign in to comment.