Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: supercanada1 on May 17, 2015, 06:29:52 PM



Title: some parameters for altcoin not understand
Post by: supercanada1 on May 17, 2015, 06:29:52 PM
for POS, static const int64_t MAX_MONEY = 357 * COIN; // There will only be 357 Proof of Work coins
What means this, it means 357 coins in one block?

also, what is the difference between:
static const int64_t MAX_MINT_PROOF_OF_STAKE = 0.05 * COIN; // 5% interest per annum
and
static const int64_t COIN_YEAR_REWARD = 5 * CENT; // 5% interest per annum.

Is it all 5%, but what is the difference, can I set in different value such as :
static const int64_t MAX_MINT_PROOF_OF_STAKE = 0.05 * COIN; // 5% interest per annum
and
static const int64_t COIN_YEAR_REWARD = 10 * CENT; // 5% interest per annum.
thanks


Title: Re: some parameters for altcoin not understand
Post by: YarkoL on May 17, 2015, 07:22:36 PM
MAX_MONEY is the max amount of coins that the wallet
allows you to spend in a single transaction.
It is often misinterpreted as the total amount
of coins that will be produced. Usually a sure sign of a copy-paste job
when you come across that in the source.

CENT is shorthand for COIN/100.