How to premine our coins in my altcoin?

-2

I want to premine our coin, but I'm not able to understand which function from which file actually generate coin. So if you know than let me know so, I can understand that code and implement my own logic.

User041188

Posted 2015-01-29T11:58:02.813

Reputation: 21

Answers

0

See the function BitcoinMiner in miner.cpp. The inner loop is in the function ScanHash.

Nate Eldredge

Posted 2015-01-29T11:58:02.813

Reputation: 21 420

I am Using Vertcoin which is using Scrypt-Adaptive-Nfactor Alogorithm and in bitcoin they are using SHA-256 algorithm then what is the difference between them and I am not able to understand from where it is actually mining the coin ? and I want my Premine coin in my wallet how i can do that.User041188 2015-01-30T08:28:14.863

1@User041188: It seems like your question is much broader than "where is the relevant code", which I have answered. I can't really help you beyond that. You might want to ask a new question, but to have the best chance of getting an answer, you should make it as specifically focused as possible, and explain what you have achieved so far.Nate Eldredge 2015-01-30T15:51:22.613

0

Use: setgenerate true -1 The -1 is the amount of CPUs you are using to mine, -1 meaning all. Use getmininginfo to see information.

Jasmine Becker

Posted 2015-01-29T11:58:02.813

Reputation: 40