<p>It is not like a website where you pass all the data in one config file and the values will be fetched automatically you need to modify many files. </p>

<ol>
<li>.gitignore - you will change the name of your coin's output file after compiling </li>
<li>base58.h - you will choose the letter by which your coin addresses will start</li>
<li>src/bitcoinrpc.cpp - you will mention the output of commands on daemon</li>
<li>src/checkpoints.cpp - for genesis block</li>
<li>src/init.cpp - again changes the outputs of daemon commands, wallet port, testnet port</li>
<li>src/irc.cpp - connect to IRC</li>
<li>src.main.cpp - choose max coin per block, block time, maturity etc</li>
<li>src/main.h - choose total number of coins that will ever be generated </li>
</ol>

<p>these were the files came in my mind as of now and there are so many more files which needs to be edited.</p>

CC BY-SA 3.0
2014-02-24T15:20:25.233Z
And they should learn to read c++ code.
T9b
CC BY-SA 3.0
2014-02-26T06:03:05.390Z
thanks.. I have seen these specification of a coin are remains same all the time. Does it mean it are statically stored values somewhere in code?. refer [http://mapofcoins.com/]
Dipendra Singh
CC BY-SA 3.0
2014-02-24T09:47:13.310Z
2014-02-24T09:47:13.310Z
Khan Shahrukh
<p>I am new to Bitcoins.</p>

<p>I wanted to know the specifications of coins inside source code. Can any one tell me, </p>

<blockquote>
  <p><em>*</em> What are those functions and variable which are responsible to get and
  set the coin specifications values?</p>
</blockquote>

<p>Lets say, Coin 'litecoin' and Source <a href="https://github.com/litecoin-project/litecoin" rel="nofollow">https://github.com/litecoin-project/litecoin</a> and Coin Specifications are:-</p>

<ol>
<li>Block Time</li>
<li>Block Reward</li>
<li>Block Time</li>
<li>Block Reward</li>
<li>Reward Halfing Time</li>
<li>Maxcoins</li>
<li>Difficulty Retarget Time</li>
<li>Coin Maturity Time</li>
<li>Confirmation Time</li>
<li>Rpcport</li>
<li>Port</li>
<li>Testnet port</li>
</ol>

CC BY-SA 3.0
2014-02-25T23:57:46.590Z
Consult the bitcoin wiki.
John T
CC BY-SA 3.0
2014-02-26T06:13:27.500Z
@JacobTorba I think, this community is dedicated for discussing issues with bitcoins. If I wants to know or consult with someone regarding my issues then stackexchange should welcome my queries.
Dipendra Singh
CC BY-SA 3.0
2014-02-26T06:16:22.997Z
If someone is newbie, may be his/her question is not framed properly, then he/she should be encouraged to quest in appropriate manner instead of down vote.Disgusting..!!!
Dipendra Singh
CC BY-SA 3.0
2014-02-26T06:28:17.097Z
What is absolutely disgusting is the fact you've managed to ask a question so broad that it literally spans the entire source code. Anyone who would try to answer this all would have to spend hours searching through the source code to find line numbers and functions. The Bitcoin wiki is available to answer such technical questions.
John T
CC BY-SA 3.0
2014-02-26T06:36:00.117Z
but if someone who have good knowledge of its source code like @KhanShahrukh then he can suggest the best ways to figure out specifications. It mean, this quest is absolutely right
Dipendra Singh
CC BY-SA 3.0
2014-02-26T21:38:37.913Z
Hi Dipendra, welcome to Bitcoin.SE. Your question is pretty broad and, while you were lucky this time, such will often not find an answer. Please check out [about] and [ask] for some information, how SE works and some tips how to submit questions. When someone downvotes, you shouldn't read that as an attack on you, but as somebody voicing his opinion that your "question doesn't show research effort; it is unclear, or not useful". This gives you the opportunity to improve the question, if you come to the conclusion that the feedback is accurate.
Murch
<litecoin><specification>
coin specifications values in source code
Dipendra Singh
# coin specifications values in source code

(Asked by: username_0 on 2014-02-24)

I am new to Bitcoins.

I wanted to know the specifications of coins inside source code. Can any one tell me,

> *\** What are those functions and variable which are responsible to get and
> set the coin specifications values?

Lets say, Coin 'litecoin' and Source <https://github.com/litecoin-project/litecoin> and Coin Specifications are:-

1. Block Time
2. Block Reward
3. Block Time
4. Block Reward
5. Reward Halfing Time
6. Maxcoins
7. Difficulty Retarget Time
8. Coin Maturity Time
9. Confirmation Time
10. Rpcport
11. Port
12. Testnet port

**Tags:** litecoin, specification

> **Comments:**
> **username_1**: Consult the bitcoin wiki.  
> **username_0**: @JacobTorba I think, this community is dedicated for discussing issues with bitcoins. If I wants to know or consult with someone regarding my issues then stackexchange should welcome my queries.  
> **username_0**: If someone is newbie, may be his/her question is not framed properly, then he/she should be encouraged to quest in appropriate manner instead of down vote.Disgusting..!!!  
> **username_1**: What is absolutely disgusting is the fact you've managed to ask a question so broad that it literally spans the entire source code. Anyone who would try to answer this all would have to spend hours searching through the source code to find line numbers and functions. The Bitcoin wiki is available to answer such technical questions.  
> **username_0**: but if someone who have good knowledge of its source code like @username_3 then he can suggest the best ways to figure out specifications. It mean, this quest is absolutely right  
> **username_2**: Hi username_0, welcome to Bitcoin.SE. Your question is pretty broad and, while you were lucky this time, such will often not find an answer. Please check out [about] and [ask] for some information, how SE works and some tips how to submit questions. When someone downvotes, you shouldn't read that as an attack on you, but as somebody voicing his opinion that your "question doesn't show research effort; it is unclear, or not useful". This gives you the opportunity to improve the question, if you come to the conclusion that the feedback is accurate.  

---

## 1 answers

### Answer by username_3 on 2014-02-24. Score: 3 | Accepted answer

It is not like a website where you pass all the data in one config file and the values will be fetched automatically you need to modify many files.

1. .gitignore - you will change the name of your coin's output file after compiling
2. base58.h - you will choose the letter by which your coin addresses will start
3. src/bitcoinrpc.cpp - you will mention the output of commands on daemon
4. src/checkpoints.cpp - for genesis block
5. src/init.cpp - again changes the outputs of daemon commands, wallet port, testnet port
6. src/irc.cpp - connect to IRC
7. src.main.cpp - choose max coin per block, block time, maturity etc
8. src/main.h - choose total number of coins that will ever be generated

these were the files came in my mind as of now and there are so many more files which needs to be edited.

> **Comments:**
> **username_4**: And they should learn to read c++ code.  
> **username_0**: thanks.. I have seen these specification of a coin are remains same all the time. Does it mean it are statically stored values somewhere in code?. refer [http://mapofcoins.com/]  

---

