How to create a Blockchain for new alt coin after genesis block has been created?

0

1

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.

Deepak Chauhan

Posted 2015-02-16T09:46:15.940

Reputation: 31

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 Song 2015-02-16T15:53:01.183

Iam suing Scrypt-Adaptive-NfactorDeepak Chauhan 2015-02-17T06:50:40.870

Are you mining yet? What error messages do you get when you try?Jimmy Song 2015-02-17T15:18:10.300

Answers

1

you can try the following steps:

  • bitcoind -daemon # Start bitcoin core
  • bitcoin-cli setgenerate true 1 # You've started a new miner!!
  • tail -f ~/.bitcoin/debug.log # Track your log

    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.

  • moshaholo

    Posted 2015-02-16T09:46:15.940

    Reputation: 575

    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?. thanksschwertfisch 2017-12-19T17:51:36.110

    -2

    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.

    hgfernan

    Posted 2015-02-16T09:46:15.940

    Reputation: 11