As title,

  1. Max coins supply.

From github's bitcoin source, where is line or function that define coin's total supply? Like bitcoin's case, 21,000,000. I found that amount.h file has above number, so then revise this number only and all done? What is maximum number this can be? int's max value, 2,100,000,000?

  1. Give initial coin. How to give initial coin to developer, marketing team member? And to pre-sale ICO customers? Where is that code?

1 Answer 1


You will probably not find the number 21,000,000 in the source code. The reason is that there are not really 21,000,000 BTC. It's a bit less. You need to sum up the block rewards. It's 210,000 * 50 + 210,000 * 25 + 210,000 * 12.5 ... < 21,000,000

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.