Skip to content

How to Initialize

Eric Voskuil edited this page Dec 21, 2015 · 19 revisions

Execute the following command initialize the blockchain directory structure.

$ bs --initchain

The following files will be created in the blockchain directory.

  • blocks_lookup
  • blocks_rows
  • history_lookup
  • history_rows
  • spends
  • stealth_index
  • stealth_rows
  • txs

The file db-lock may also appear in the directory after server startup.

Use the node.blockchain_path configuration setting to specify the blockchain location.

The --initchain command will fail if the blockchain directory already exists.

To replace the blockchain either delete the directory or move the configured location.

Clone this wiki locally