bitcoind/templates/bitcoin.conf.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 01 Sep 2025 12:37:03 -0500
changeset 42 f87088de9e64
parent 41 85750c5b0661
permissions -rw-r--r--
Performance tweaks.

externalip={{bitcoind_external_ip}}
uacomment={{bitcoind_comment}}

datadir={{bitcoind_data_dir}}
logdir={{bitcoind_log_dir}}

maxuploadtarget=1024
dbcache={{bitcoind_dbcache}}
par={{bitcoind_threads}}
checkblocks=6
checklevel=0

server=1
rpcbind=127.0.0.1
{% for ip in bitcoind_rpc_bind %}rpcbind={{ip}}
{% endfor %}
rpcallowip=127.0.0.1
{% for ip in bitcoind_rpc_allow_ip %}rpcallowip={{ip}}
{% endfor %}

{% if bitcoind_rpc_user is defined %}
rpcuser={{bitcoind_rpc_user}}
rpcpassword={{bitcoind_rpc_pass}}
{% endif %}

zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333

deprecatedrpc=warnings

txindex={{bitcoind_enable_txindex}}
blockfilterindex={{bitcoind_enable_filterindex}}

{% for node in bitcoind_add_node %}addnode={{node}}
{% endfor %}