Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 747 Bytes

generate-blockchain.md

File metadata and controls

20 lines (16 loc) · 747 Bytes

How to Generate Blockchain

It is possible situation when blockchain is not advanced for more than k slots. In this case we should generate it. Use cardano-auxx and command generate-blocks for it.

Launch cardano-auxx:

$ stack exec -- cardano-auxx                     \
    --system-start 0                             \
    --configuration-file node/configuration.yaml \
    --configuration-key mainnet_full             \
    --db-path some-db                            \
    repl

Then ensure you have all the needed keys imported (see add-key and add-key-pool commands). Next is running generate-blocks <N> command, where <N> is number of blocks to generate. Transaction payload generation is disabled by default.