73 lines
1.8 KiB
TOML
73 lines
1.8 KiB
TOML
# Default configuration for zebrad.
|
|
#
|
|
# This file can be used as a skeleton for custom configs.
|
|
#
|
|
# Unspecified fields use default values. Optional fields are Some(field) if the
|
|
# field is present and None if it is absent.
|
|
#
|
|
# This file is generated as an example using zebrad's current defaults.
|
|
# You should set only the config options you want to keep, and delete the rest.
|
|
# Only a subset of fields are present in the skeleton, since optional values
|
|
# whose default is None are omitted.
|
|
#
|
|
# The config format (including a complete list of sections and fields) is
|
|
# documented here:
|
|
# https://docs.rs/zebrad/latest/zebrad/config/struct.ZebradConfig.html
|
|
#
|
|
# zebrad attempts to load configs in the following order:
|
|
#
|
|
# 1. The -c flag on the command line, e.g., `zebrad -c myconfig.toml start`;
|
|
# 2. The file `zebrad.toml` in the users's preference directory (platform-dependent);
|
|
# 3. The default config.
|
|
|
|
[consensus]
|
|
checkpoint_sync = true
|
|
debug_skip_parameter_preload = false
|
|
|
|
[mempool]
|
|
eviction_memory_time = '1h'
|
|
tx_cost_limit = 80000000
|
|
|
|
[metrics]
|
|
|
|
[mining]
|
|
|
|
[network]
|
|
crawl_new_peer_interval = '1m 1s'
|
|
initial_mainnet_peers = [
|
|
'dnsseed.z.cash:8233',
|
|
'dnsseed.str4d.xyz:8233',
|
|
'mainnet.seeder.zfnd.org:8233',
|
|
'mainnet.is.yolo.money:8233',
|
|
]
|
|
initial_testnet_peers = [
|
|
'dnsseed.testnet.z.cash:18233',
|
|
'testnet.seeder.zfnd.org:18233',
|
|
'testnet.is.yolo.money:18233',
|
|
]
|
|
listen_addr = '0.0.0.0:8233'
|
|
network = 'Mainnet'
|
|
peerset_initial_target_size = 25
|
|
|
|
[rpc]
|
|
debug_force_finished_sync = false
|
|
parallel_cpu_threads = 0
|
|
|
|
[state]
|
|
cache_dir = 'cache_dir'
|
|
delete_old_database = true
|
|
ephemeral = false
|
|
|
|
[sync]
|
|
checkpoint_verify_concurrency_limit = 1000
|
|
download_concurrency_limit = 50
|
|
full_verify_concurrency_limit = 20
|
|
parallel_cpu_threads = 0
|
|
|
|
[tracing]
|
|
buffer_limit = 128000
|
|
force_use_color = false
|
|
use_color = true
|
|
use_journald = false
|
|
|