Author

Topic: some parameters for altcoin not understand (Read 370 times)

legendary
Activity: 996
Merit: 1013
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.
sr. member
Activity: 798
Merit: 253
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
Jump to: