I am creating a new alt coin and I want to know how to generate a Blockchain for that coin. I have already created the genesis block for my new alt coin.
-
1What's the block generation mechanism? Proof-of-work? Proof-of-stake? Something else? Please post the parameters for your altcoin, otherwise, it's impossible to answer your question.– Jimmy SongFeb 16, 2015 at 15:53
-
Iam suing Scrypt-Adaptive-Nfactor– Deepak ChauhanFeb 17, 2015 at 6:50
-
Are you mining yet? What error messages do you get when you try?– Jimmy SongFeb 17, 2015 at 15:18
2 Answers
you can try the following steps:
After a while (it depends on the difficulty of your altcoin), a new block will be generated by your miner.
Check it by typing "bitcoin-cli getblockcount". Every time a new block is genereated, the value increases by one.
-
hi @moshaholo i'm trying to execute this command "bitcoin-cli setgenerate true 1" but i was removed in the new versions, do you know how can i get first block with recently litecoin source?. thanks Dec 19, 2017 at 17:51
If you're using some form of Proof-of-Work, i believe you have to generate enough transactions that can fill a block. Of course that 1st block will refer to the genesys block. Then other transactions will fill a 2nd block, that will refer to the 1st. And so on.
And voilá, you have the blockchain.
Good luck with your altcoin.