Permalink
Browse files

Change Max Money and Coin Maturity

Change Max Money and Coin Maturity
  • Loading branch information...
HowToCloneAnAltcoin
HowToCloneAnAltcoin committed Nov 6, 2014
1 parent fe0d86a commit c43361429062f04b5697f9e9fca19e2f15d2e634
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main.h
View
@@ -52,10 +52,10 @@ static const int64 DUST_SOFT_LIMIT = 100000; // 0.001 CLN
/** Dust Hard Limit, ignored as wallet inputs (mininput default) */
static const int64 DUST_HARD_LIMIT = 1000; // 0.00001 CLN mininput
/** No amount larger than this (in satoshi) is valid */
static const int64 MAX_MONEY = 84000000 * COIN;
static const int64 MAX_MONEY = 184000000 * COIN;
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
static const int COINBASE_MATURITY = 100;
static const int COINBASE_MATURITY = 20;
/** Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp. */
static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20 1985 UTC
/** Maximum number of script-checking threads allowed */

3 comments on commit c433614

@AngelTs

This comment has been minimized.

Show comment
Hide comment
@AngelTs

AngelTs Feb 4, 2018

Not 184000000, but 840000000

AngelTs replied Feb 4, 2018

Not 184000000, but 840000000

@douglasdeodato

This comment has been minimized.

Show comment
Hide comment
@douglasdeodato

douglasdeodato Apr 3, 2018

MAX_MONEY does not work I setup it to 1 million and the software already mined 1.5 million, how it possible?

douglasdeodato replied Apr 3, 2018

MAX_MONEY does not work I setup it to 1 million and the software already mined 1.5 million, how it possible?

@feltoxXx

This comment has been minimized.

Show comment
Hide comment
@feltoxXx

feltoxXx Apr 28, 2018

i think MAX_MONEY is a variable, if you do not cap it by code it will go to the moon

feltoxXx replied Apr 28, 2018

i think MAX_MONEY is a variable, if you do not cap it by code it will go to the moon

Please sign in to comment.