BTQ Node Configuration
The BTQ node configuration allows users to customize settings via a configuration file located at ~/.btq/config.yml in the local root BTQ directory.
Important: The node must be restarted to apply any modifications to the configuration if it is already running.
BTQ Mining Config
Configure mining to utilize the local machine's processor.
Directive
Default
Description
Enable mining on the local node
Wallet address to receive mining rewards
Auto-detect thread count based on CPU/GPU capabilities
Example Mining Config:
##======================================
## Mining Configuration
##======================================
mining_enabled: False
mining_address: 'Q010500f07a209bfa657e526118a9c5e40ecb5f69d3a8da991ddc1fe0269c7ec617f693f362a051'
mining_thread_count: 0
Ephemeral Config
This function is still under development and may change in the future.
Directive
Default
Description
Enable ephemeral traffic on node
Message expires after 90 seconds
Example Ephemeral Config:
Configure the Peer-to-Peer settings for the node.
Directive
Default
Description
max_redundant_connections
Max connections allowed from nodes with the same IP
Allow discovery of new peers
List of peers for P2P connections
Locally bound port for connections
Public port for forwarding connections
Max number of messages per minute per peer
Minutes to ban offending peer IPs
monitor_connections_interval
Interval to monitor connections (seconds)
Max number of peers allowed to connect
Hours to refresh NTP sync
Seconds before NTP timeout
['pool.ntp.org', 'ntp.ubuntu.com']
Timeout for chain state (seconds)
chain_state_broadcast_period
Period for broadcasting chain state (must be less than ping timeout)
Minimum transaction fee (in smallest unit)
pending_transaction_pool_size
Size of the pending transaction pool
pending_transaction_pool_reserve
Reserve for moving stale transactions
stale_transaction_threshold
Blocks threshold before considering a transaction stale
Example P2P Config:
Admin API Config
Configure the administrative API of the BTQ node.
Directive
Default
Description
Number of threads for admin API
admin_api_max_concurrent_rpc
Max concurrent RPC for admin API
Example Admin API Config:
Public API Config
Configuration settings for the public-facing API of the BTQ node.
Directive
Default
Description
Number of threads for public API
public_api_max_concurrent_rpc
Max concurrent RPC for public API
Example Public API Config:
Mining API Config
Configuration settings for the mining-specific API of the BTQ node.
Directive
Default
Description
Number of threads for mining API
mining_api_max_concurrent_rpc
Max concurrent RPC for mining API
Example Mining API Config:
Debug API Config
Configuration settings for the debug API, useful for troubleshooting and development.
Directive
Default
Description
Number of threads for debug API
debug_api_max_concurrent_rpc
Max concurrent RPC for debug API
Example Debug API Config:
GRPC Proxy Config
Settings for the GRPC proxy, facilitating GRPC connections.
Directive
Default
Description
Example GRPC Proxy Config:
Wallet Daemon Config
Configuration settings for the wallet daemon which handles wallet interactions via API.
Directive
Default
Description
Server where the public API is available
Host for the wallet daemon
Port for the wallet daemon
Number of slave processes for handling requests
Example Wallet Daemon Config:
Wallet API Config
Settings for the API that allows wallet operations.
Directive
Default
Description
Number of threads for wallet API
wallet_api_max_concurrent_rpc
Max concurrent RPC for wallet API
Example Wallet API Config: