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

in this link


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?

1 Answer 1


You can use this code for genesis block: https://github.com/nasa8x/genesis-block

  • 1
    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? Commented Feb 8, 2018 at 8:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.