BTQ Node Config
BTQ Node Configuration
Last updated
BTQ Node Configuration
Last updated
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.
Configure mining to utilize the local machine's processor.
Directive | Default | Description |
---|---|---|
Example Mining Config:
This function is still under development and may change in the future.
Example Ephemeral Config:
Configure the Peer-to-Peer settings for the node.
Example P2P Config:
Configure the administrative API of the BTQ node.
Example Admin API Config:
Configuration settings for the public-facing API of the BTQ node.
Example Public API Config:
Configuration settings for the mining-specific API of the BTQ node.
Example Mining API Config:
Configuration settings for the debug API, useful for troubleshooting and development.
Example Debug API Config:
Settings for the GRPC proxy, facilitating GRPC connections.
Example GRPC Proxy Config:
Configuration settings for the wallet daemon which handles wallet interactions via API.
Example Wallet Daemon Config:
Settings for the API that allows wallet operations.
Example Wallet API Config:
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
Directive | Default | Description |
---|---|---|
mining_enabled
False
Enable mining on the local node
mining_address
None
Wallet address to receive mining rewards
mining_thread_count
0
Auto-detect thread count based on CPU/GPU capabilities
accept_ephemeral
True
Enable ephemeral traffic on node
outgoing_message_expiry
90
Message expires after 90 seconds
max_redundant_connections
5
Max connections allowed from nodes with the same IP
enable_peer_discovery
True
Allow discovery of new peers
peer_list
[IP addresses]
List of peers for P2P connections
p2p_local_port
19000
Locally bound port for connections
p2p_public_port
19000
Public port for forwarding connections
p2p_q_size
10000
Size of the P2P queue
peer_rate_limit
500
Max number of messages per minute per peer
ban_minutes
20
Minutes to ban offending peer IPs
monitor_connections_interval
30
Interval to monitor connections (seconds)
max_peers_limit
100
Max number of peers allowed to connect
ntp_refresh
12
Hours to refresh NTP sync
ntp_request_timeout
10
Seconds before NTP timeout
ntp_servers
['pool.ntp.org', 'ntp.ubuntu.com']
NTP servers
chain_state_timeout
180
Timeout for chain state (seconds)
chain_state_broadcast_period
180
Period for broadcasting chain state (must be less than ping timeout)
transaction_pool_size
25000
Transaction pool size
transaction_minimum_fee
1000000000
Minimum transaction fee (in smallest unit)
pending_transaction_pool_size
75000
Size of the pending transaction pool
pending_transaction_pool_reserve
75
Reserve for moving stale transactions
stale_transaction_threshold
15
Blocks threshold before considering a transaction stale
admin_api_enabled
False
Enable the admin API
admin_api_host
"127.0.0.1"
Host for the admin API
admin_api_port
19008
Port for the admin API
admin_api_threads
1
Number of threads for admin API
admin_api_max_concurrent_rpc
100
Max concurrent RPC for admin API
public_api_enabled
True
Enable the public API
public_api_host
"0.0.0.0"
Host for the public API
public_api_port
19009
Port for the public API
public_api_threads
1
Number of threads for public API
public_api_max_concurrent_rpc
100
Max concurrent RPC for public API
mining_api_enabled
False
Enable the mining API
mining_api_host
"127.0.0.1"
Host for the mining API
mining_api_port
19007
Port for the mining API
mining_api_threads
1
Number of threads for mining API
mining_api_max_concurrent_rpc
100
Max concurrent RPC for mining API
debug_api_enabled
False
Enable the debug API
debug_api_host
"127.0.0.1"
Host for the debug API
debug_api_port
52134
Port for the debug API
debug_api_threads
1
Number of threads for debug API
debug_api_max_concurrent_rpc
100
Max concurrent RPC for debug API
grpc_proxy_host
"127.0.0.1"
Host for the GRPC proxy
grpc_proxy_port
18090
Port for the GRPC proxy
public_api_server
"127.0.0.1:19009"
Server where the public API is available
wallet_daemon_host
"127.0.0.1"
Host for the wallet daemon
wallet_daemon_port
18091
Port for the wallet daemon
number_of_slaves
3
Number of slave processes for handling requests
wallet_api_host
"127.0.0.1"
Host for the wallet API
wallet_api_port
19010
Port for the wallet API
wallet_api_threads
1
Number of threads for wallet API
wallet_api_max_concurrent_rpc
100
Max concurrent RPC for wallet API