bitcoind/templates/bitcoin.conf.j2
author Luke Hoersten <luke@hoersten.org>
Tue, 12 May 2020 19:58:50 -0500
changeset 7 2a2d6fe367c4
parent 4 9934a00b9e97
child 8 fd72f6774874
permissions -rw-r--r--
Added mdunnio rpi optimizations.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
externalip={{node_external_ip}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
uacomment={{bitcoind_comment}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
datadir={{bitcoind_data_dir}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
logdir={{bitcoind_log_dir}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
debug=rpc
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
server=1
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
rpcuser={{bitcoind_rpc_user}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
rpcpassword={{bitcoind_rpc_pass}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
7
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    12
zmqpubrawblock=tcp://127.0.0.1:28332
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    13
zmqpubrawtx=tcp://127.0.0.1:28333
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    14
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    15
# raspberry pi optimizations
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    16
dbcache=100
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    17
maxorphantx=10
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    18
maxmempool=50
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    19
maxconnections=40
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    20
maxuploadtarget=5000
2a2d6fe367c4 Added mdunnio rpi optimizations.
Luke Hoersten <luke@hoersten.org>
parents: 4
diff changeset
    21
4
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    22
txindex={{bitcoind_enable_txindex}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    23
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    24
{% for node in bitcoind_add_node %}addnode={{node}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    25
{% endfor %}