Bitcoin Forum
November 16, 2024, 03:22:11 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to "crosscheck" info (like premine/ instamine/ max supply etc)  (Read 297 times)
pixelated (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 09, 2017, 09:32:27 PM
 #1

Presuming that the info supplied by dev(s) does not satisfy anyone, where/ how can one crosscheck all the info about an altcoin?

For a language agnostic (not knowing C++ but understanding the logic) would it be advisable to dig into code somewhere? Or is there a better way to "crosscheck" all the info that the dev(s) might otherwise try to conceal esp before launch?

Sample parameters for such info:
1) Premined
2) Instamined
3) Hashing algo
4) Dilution
5) Max supply
6) Features/ Innovations
7) Halving time
etc
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
July 09, 2017, 09:43:53 PM
 #2

For most regular coins the premine amount/blockreward structure can bee seen through github/src/main.cpp and searching for the word "nsubsidy".

For example:

https://github.com/PIVX-Project/PIVX/blob/master/src/main.cpp#L1617

nHeight is the block number and subsidy is the blockreward.

So if you see this:

    if (nHeight == 0) {
        nSubsidy = 60001 * COIN;

That means that there's a 60001 premine at block 1 (0).

Not your keys, not your coins!
pixelated (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 09, 2017, 11:13:14 PM
 #3

For most regular coins the premine amount/blockreward structure can bee seen through github/src/main.cpp and searching for the word "nsubsidy".

For example:

https://github.com/PIVX-Project/PIVX/blob/master/src/main.cpp#L1617

nHeight is the block number and subsidy is the blockreward.

So if you see this:

    if (nHeight == 0) {
        nSubsidy = 60001 * COIN;

That means that there's a 60001 premine at block 1 (0).

@bathrobehero: Thanks. Since you said most, would you like to quote an example of an outlier as well? Also, what about other parameters? Are they also usually in github/src/main.cpp?
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!