Bitcoin Forum
May 22, 2024, 06:21:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: some parameters for altcoin not understand  (Read 345 times)
supercanada1 (OP)
Sr. Member
****
Offline Offline

Activity: 798
Merit: 253


View Profile
May 17, 2015, 06:29:52 PM
 #1

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
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1013


View Profile
May 17, 2015, 07:22:36 PM
 #2

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.

“God does not play dice"
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!