-
Notifications
You must be signed in to change notification settings - Fork 65
Initial Configuration
Eric Voskuil edited this page Mar 20, 2017
·
17 revisions
Optimal initial block download is very different from operational configuration. The following settings are recommended and otherwise defaults are sufficient. See additional information below.
[log]
# debug_file = debug.log
# error_file = error.log
# archive_directory = archive
rotation_size = 10000000
[network]
inbound_connections = 0
outbound_connections = 3
channel_expiration_minutes = 60
[database]
# directory = blockchain
flush_writes = false
# cache_capacity = 10000
[blockchain]
cores = 32
# checkpoint = 0000000000000000014083723ed311a461c648068af8cef8a19dcd620c07a20b:450000
[node]
block_poll_seconds = 1
relay_transactions = false
[server]
query_workers = 0
heartbeat_interval_seconds = 0
block_service_enabled = false
transaction_service_enabled = false
The debug log can get large and impact performance if not managed. The most important setting is rotation_size
as a nonzero value enabled log rotation. It is also helpful to maintain the debug log on an SSD and to rotate logs onto a disk other than that for the blockchain (SSD or HDD). The necessary settings are shown above, though appropriate paths must be selected.
Users | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build Server
- Download Server
- Frequently Asked Questions
- General Information
- Client Server Interface
- Configuration Settings
- Tutorials