30 lines
896 B
Text
30 lines
896 B
Text
|
|
# Fulcrum Configuration
|
||
|
|
# Generated by Ansible
|
||
|
|
|
||
|
|
# Bitcoin Core/Knots RPC settings
|
||
|
|
bitcoind = {{ bitcoin_rpc_host }}:{{ bitcoin_rpc_port }}
|
||
|
|
rpcuser = {{ bitcoin_rpc_user }}
|
||
|
|
rpcpassword = {{ bitcoin_rpc_password }}
|
||
|
|
|
||
|
|
# Fulcrum server general settings
|
||
|
|
datadir = {{ fulcrum_db_dir }}
|
||
|
|
tcp = {{ fulcrum_tcp_bind }}:{{ fulcrum_tcp_port }}
|
||
|
|
peering = {{ 'true' if fulcrum_peering else 'false' }}
|
||
|
|
zmq_allow_hashtx = {{ 'true' if fulcrum_zmq_allow_hashtx else 'false' }}
|
||
|
|
|
||
|
|
# SSL/TLS Configuration
|
||
|
|
{% if fulcrum_ssl_enabled | default(false) %}
|
||
|
|
ssl = {{ fulcrum_ssl_bind }}:{{ fulcrum_ssl_port }}
|
||
|
|
cert = {{ fulcrum_ssl_cert_path }}
|
||
|
|
key = {{ fulcrum_ssl_key_path }}
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
# Anonymize client IP addresses and TxIDs in logs
|
||
|
|
anon_logs = {{ 'true' if fulcrum_anon_logs else 'false' }}
|
||
|
|
|
||
|
|
# Max RocksDB Memory in MiB
|
||
|
|
db_mem = {{ fulcrum_db_mem_mb }}.0
|
||
|
|
|
||
|
|
# Banner
|
||
|
|
banner = {{ fulcrum_lib_dir }}/fulcrum-banner.txt
|