<p>You can use this code for genesis block:
<a href="https://github.com/nasa8x/genesis-block" rel="nofollow noreferrer">https://github.com/nasa8x/genesis-block</a></p>

CC BY-SA 3.0
2018-02-08T08:38:18.477Z
Hello nasa8x and welcome to the forum. We appreciate your contribution. There is a slight issue with your post though. OP is asking for the idea behind line 52 of a specific file. Your answer just shows a generic link to another github. It does not provide any help, and also avoids for other readers to be able to understand the discussion. Can you rework your answer, to provide a more specific reply?
pebwindkraft
CC BY-SA 3.0
2018-02-08T04:43:41.890Z
2018-02-08T04:43:41.890Z
nasa8x
<p>I am checking bitcoin source code to learn forking a coin better, </p>

<p>in this link </p>

<p><a href="https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp</a></p>

<p>Line 52 has scratched my mind, what is that for? Should that be changed while forking a coin?</p>

<p>I know lines 124 and 125 are set after the first genesis block is mined, can someone explain me what line 52 does, and how it affects the blockchain?</p>

<open-source><source-code>
Bitcoin Source Code genesisOutputScript
Ahmed Can Unbay
# Bitcoin Source Code genesisOutputScript

(Asked by: username_0 on 2018-01-27)

I am checking bitcoin source code to learn forking a coin better,

in this link

<https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp>

Line 52 has scratched my mind, what is that for? Should that be changed while forking a coin?

I know lines 124 and 125 are set after the first genesis block is mined, can someone explain me what line 52 does, and how it affects the blockchain?

**Tags:** open-source, source-code


---

## 1 answers

### Answer by username_1 on 2018-02-08. Score: -1

You can use this code for genesis block:
<https://github.com/username_1/genesis-block>

> **Comments:**
> **username_2**: Hello username_1 and welcome to the forum. We appreciate your contribution. There is a slight issue with your post though. OP is asking for the idea behind line 52 of a specific file. Your answer just shows a generic link to another github. It does not provide any help, and also avoids for other readers to be able to understand the discussion. Can you rework your answer, to provide a more specific reply?  

---

