Skip to content

Commit

Permalink
Change collateral to 10 000
Browse files Browse the repository at this point in the history
Change collateral to 10 000
  • Loading branch information
sierracoin-publisher committed Nov 5, 2018
1 parent e3c2ddb commit 98b74c8
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,6 +1,6 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 1)
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 0)
Expand Down
2 changes: 1 addition & 1 deletion src/chainparams.cpp
Expand Up @@ -103,7 +103,7 @@ class CMainParams : public CChainParams
nLastPOWBlock = 1000;
nMaturity = 80;
nMasternodeCountDrift = 20;
nMasternodeColleteralLimxDev = 1000; //Params().MasternodeColleteralLimxDev()
nMasternodeColleteralLimxDev = 10000; //Params().MasternodeColleteralLimxDev()
nModifierUpdateBlock = 1; // we use the version 2 for
nMaxMoneyOut = 25000000 * COIN;

Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Expand Up @@ -14,7 +14,7 @@
*/

//! These need to be macros, as clientversion.cpp's and sierra*-res.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MAJOR 2
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_BUILD 0
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -1671,7 +1671,7 @@ int64_t GetMasternodePayment(int nHeight, int64_t blockValue, int nMasternodeCou
nMasternodeCount = mnodeman.stable_size();
}

int64_t mNodeCoins = nMasternodeCount * 1000 * COIN;
int64_t mNodeCoins = nMasternodeCount * 10000 * COIN;

if (mNodeCoins == 0) {
ret = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Expand Up @@ -54,7 +54,7 @@ struct CBlockTemplate;
struct CNodeStateStats;

/** Masternode Amount **/
static const int MASTERNODEAMOUNT = 1000;
static const int MASTERNODEAMOUNT = 10000;

/** Default for -blockmaxsize and -blockminsize, which control the range of sizes the mining code will create **/
static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 3000000;
Expand Down
4 changes: 2 additions & 2 deletions src/masternode.cpp
Expand Up @@ -213,7 +213,7 @@ void CMasternode::Check(bool forceCheck)
if (!unitTest) {
CValidationState state;
CMutableTransaction tx = CMutableTransaction();
CTxOut vout = CTxOut(999.99 * COIN, DarKsendPool.collateralPubKey);
CTxOut vout = CTxOut(9999.99 * COIN, DarKsendPool.collateralPubKey);
tx.vin.push_back(vin);
tx.vout.push_back(vout);

Expand Down Expand Up @@ -573,7 +573,7 @@ bool CMasternodeBroadcast::CheckInputsAndAdd(int& nDoS)

CValidationState state;
CMutableTransaction tx = CMutableTransaction();
CTxOut vout = CTxOut(999.99 * COIN, DarKsendPool.collateralPubKey);
CTxOut vout = CTxOut(9999.99 * COIN, DarKsendPool.collateralPubKey);
tx.vin.push_back(vin);
tx.vout.push_back(vout);

Expand Down
2 changes: 1 addition & 1 deletion src/masternodeman.cpp
Expand Up @@ -960,7 +960,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData

CValidationState state;
CMutableTransaction tx = CMutableTransaction();
CTxOut vout = CTxOut(999.99 * COIN, DarKsendPool.collateralPubKey);
CTxOut vout = CTxOut(9999.99 * COIN, DarKsendPool.collateralPubKey);
tx.vin.push_back(vin);
tx.vout.push_back(vout);

Expand Down
6 changes: 3 additions & 3 deletions src/version.h
Expand Up @@ -13,7 +13,7 @@
* network protocol versioning
*/

static const int PROTOCOL_VERSION = 10100;
static const int PROTOCOL_VERSION = 10200;

//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
Expand All @@ -22,8 +22,8 @@ static const int INIT_PROTO_VERSION = 209;
static const int GETHEADERS_VERSION = 10000;

//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT = 10005;
static const int MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT = 10100;
static const int MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT = 10200;
static const int MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT = 10200;

//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
Expand Down

0 comments on commit 98b74c8

Please sign in to comment.