-
Notifications
You must be signed in to change notification settings - Fork 66
Server Settings
The following server settings are implemented in the libbitcoin-server and exposed in Bitcoin Server (BS).
[server]
# The lower limit of address and spend indexing, defaults to 0.
index_start_height = 0
# Disable public endpoints, defaults to false.
secure_only = false
# The number of query worker threads per endpoint, defaults to 1 (0 disables service).
query_workers = 1
# The maximum number of subscriptions, defaults to 0 (disabled).
subscription_limit = 0
# The subscription expiration time, defaults to 10.
subscription_expiration_minutes = 10
# The heartbeat interval, defaults to 5 (0 disables service).
heartbeat_interval_seconds = 5
# Enable the block publishing service, defaults to true.
block_service_enabled = true
# Enable the transaction publishing service, defaults to true.
transaction_service_enabled = true
# The public query endpoint, defaults to 'tcp://*:9091'.
public_query_endpoint = tcp://*:9091
# The public heartbeat endpoint, defaults to 'tcp://*:9092'.
public_heartbeat_endpoint = tcp://*:9092
# The public block publishing endpoint, defaults to 'tcp://*:9093'.
public_block_endpoint = tcp://*:9093
# The public transaction publishing endpoint, defaults to 'tcp://*:9094'.
public_transaction_endpoint = tcp://*:9094
# The secure query endpoint, defaults to 'tcp://*:9081'.
secure_query_endpoint = tcp://*:9081
# The secure heartbeat endpoint, defaults to 'tcp://*:9082'.
secure_heartbeat_endpoint = tcp://*:9082
# The secure block publishing endpoint, defaults to 'tcp://*:9083'.
secure_block_endpoint = tcp://*:9083
# The secure transaction publishing endpoint, defaults to 'tcp://*:9084'.
secure_transaction_endpoint = tcp://*:9084
# The Z85-encoded private key of the server, enables secure endpoints.
#server_private_key =
# Allowed Z85-encoded public key of the client, multiple entries allowed.
#client_public_key =
# Allowed client IP address, multiple entries allowed.
#client_address = 127.0.0.1
If this is set to 0 (default) all payment addresses in standard inputs and outputs, as well as all stealth metadata, is indexed. This is a large amount of information. To limit this indexing to more recent heights set this value to the desired starting height. This value can be safely changed at any time however the resulting index gaps will affect query results.
Disable public endpoints, defaults to false.
The number of query worker threads per endpoint, defaults to 1 (0 disables service).
The maximum number of subscriptions, defaults to 0 (disabled).
The subscription expiration time, defaults to 10.
The heartbeat interval, defaults to 5 (0 disables service).
Enable the block publishing service, defaults to true.
Enable the transaction publishing service, defaults to true.
The public query endpoint, defaults to 'tcp://*:9091'.
The public heartbeat endpoint, defaults to 'tcp://*:9092'.
The public block publishing endpoint, defaults to 'tcp://*:9093'.
The public transaction publishing endpoint, defaults to 'tcp://*:9094'.
Bind the secure query socket to this endpoint.
Bind the secure heartbeat socket to this endpoint.
Bind the secure block publishing socket to this endpoint.
Bind the secure transaction publishing socket to this endpoint.
See secure server setup.
Users | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build Server
- Download Server
- Frequently Asked Questions
- General Information
- Client Server Interface
- Configuration Settings
- Tutorials