11# Libbitcoin Server configuration file.
22
3- [general]
4- # The blockchain directory, defaults to 'blockchain'.
5- blockchain_path = blockchain
3+ [node]
4+ # The number of threads in the database threadpool, defaults to 6.
5+ database_threads = 6
6+ # The number of threads in the network threadpool, defaults to 4.
7+ network_threads = 4
8+ # The number of threads in the memory threadpool, defaults to 4.
9+ memory_threads = 4
10+ # The maximum number of peer hosts in the pool, defaults to 1000.
11+ host_pool_capacity = 1000
12+ # The maximum number of orphan blocks in the pool, defaults to 50.
13+ block_pool_capacity = 50
14+ # The maximum number of transactions in the pool, defaults to 2000.
15+ tx_pool_capacity = 2000
616# The minimum height of the history database, defaults to 0.
717history_height = 0
8- # The peer cache file path, defaults to 'hosts'.
9- hosts_file = hosts
10- # Enable the listening for incoming connections, defaults to true.
11- listener_enabled = true
18+ # The height of the checkpoint hash, defaults to 0.
19+ checkpoint_height = 0
20+ # The checkpoint hash, defaults to a null hash (no checkpoint).
21+ checkpoint_hash = 0000000000000000000000000000000000000000000000000000000000000000
22+ # The port for incoming connections, set to 0 to disable listener, defaults to 8333 (18333 for testnet).
23+ # listen_port = 0
1224# The maximum number of outgoing P2P network connections, defaults to 8.
13- out_connections = 8
14- # Enable the publisher, defaults to false.
15- publisher_enabled = false
16- # The maximum number of transactions in the pool, defaults to 2000.
17- tx_pool_capacity = 2000
18-
19- [logging]
20- # The debug log file path, defaults to 'debug.log'.
21- debug_file = debug.log
22- # The error log file path, defaults to 'error.log'.
23- error_file = error.log
24- # Write service requests to the log, impacts performance, defaults to false.
25- log_requests = false
25+ outbound_connections = 8
26+ # The peer cache file path, defaults to 'peers'.
27+ hosts_file = peers
28+ # The blockchain directory, defaults to 'blockchain'.
29+ blockchain_path = blockchain
2630
27- [endpoints ]
31+ [server ]
2832# The query service endpoint, defaults to 'tcp://*:9091'.
29- service = tcp://*:9091
30- # The heartbeat endpoint, defaults to 'tcp://*:9092'.
31- heartbeat = tcp://*:9092
33+ query_endpoint = tcp://*:9091
34+ # The heartbeat service endpoint, defaults to 'tcp://*:9092'.
35+ heartbeat_endpoint = tcp://*:9092
3236# The block publishing service endpoint, defaults to 'tcp://*:9093'.
33- block_publish = tcp://*:9093
37+ block_publish_endpoint = tcp://*:9093
3438# The transaction publishing service endpoint, defaults to 'tcp://*:9094'.
35- tx_publish = tcp://*:9094
39+ tx_publish_endpoint = tcp://*:9094
40+ # Enable the publisher, defaults to false.
41+ publisher_enabled = false
3642
3743[identity]
44+ # The server name, must be unique if specified.
45+ # unique_name =
3846# The path to the ZPL-encoded server private certificate file.
3947# cert_file =
4048# The directory for ZPL-encoded client public certificate files, allows anonymous clients if not set.
@@ -45,5 +53,11 @@ tx_publish = tcp://*:9094
4553# Node to augment peer discovery, formatted as host:port, multiple entries allowed.
4654# peer = obelisk.airbitz.co:8333
4755# peer =
48- # The server name, must be unique if specified.
49- # unique_name =
56+
57+ [logging]
58+ # The debug log file path, defaults to 'debug.log'.
59+ debug_file = debug.log
60+ # The error log file path, defaults to 'error.log'.
61+ error_file = error.log
62+ # Write service requests to the log, impacts performance, defaults to false.
63+ log_requests = false
0 commit comments