# Bitcoin Knots Configuration Variables # Version - REQUIRED: Specify exact version/tag to build bitcoin_knots_version: "v29.2.knots20251110" # Must specify exact version/tag bitcoin_knots_version_short: "29.2.knots20251110" # Version without 'v' prefix (for tarball URLs) # Directories bitcoin_knots_dir: /opt/bitcoin-knots bitcoin_knots_source_dir: "{{ bitcoin_knots_dir }}/source" bitcoin_data_dir: /var/lib/bitcoin # Standard location for config, logs, wallets bitcoin_large_data_dir: /mnt/knots_data # Custom location for blockchain data (blocks, chainstate) bitcoin_conf_dir: /etc/bitcoin # Network bitcoin_rpc_port: 8332 bitcoin_p2p_port: 8333 bitcoin_rpc_bind: "0.0.0.0" # Build options bitcoin_build_jobs: 4 # Parallel build jobs (-j flag), adjust based on CPU cores bitcoin_build_prefix: /usr/local # Configuration options bitcoin_enable_txindex: true # Set to true if transaction index needed (REQUIRED for Electrum servers like Electrs/ElectrumX) bitcoin_max_connections: 125 # dbcache will be calculated as 90% of host RAM automatically in playbook # ZMQ Configuration bitcoin_zmq_enabled: true bitcoin_zmq_bind: "tcp://0.0.0.0" bitcoin_zmq_port_rawblock: 28332 bitcoin_zmq_port_rawtx: 28333 bitcoin_zmq_port_hashblock: 28334 bitcoin_zmq_port_hashtx: 28335 # Service user bitcoin_user: bitcoin bitcoin_group: bitcoin