-
Notifications
You must be signed in to change notification settings - Fork 66
How to Initialize
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. The presence of this file does not indicate an active lock. When a node or server starts it gains cooperative exclusive access to the database by using this file as a inter-process mutex. The file may be deleted when the database is closed, without consequence.
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.
Users | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build Server
- Download Server
- Frequently Asked Questions
- General Information
- Client Server Interface
- Configuration Settings
- Tutorials