citadel-core/templates/bitcoin-sample.conf

54 lines
1.2 KiB
Plaintext
Raw Normal View History

# SPDX-FileCopyrightText: 2020 Umbrel. https://getumbrel.com
2022-01-28 06:52:26 +00:00
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
#
2022-01-21 20:37:48 +00:00
# SPDX-License-Identifier: GPL-3.0-or-later
2022-02-09 06:47:40 +00:00
# Please note: This file can't be changed, any changes will be overwritten the next time you start Citadel.
# Tor
proxy=<tor-proxy-ip>:<tor-proxy-port>
listen=1
2022-10-28 18:17:17 +00:00
# I2P
2022-10-28 18:27:33 +00:00
i2psam=<i2p-ip>:<i2p-sam-port>
2022-10-28 18:17:17 +00:00
# Mainnet/Testnet/Signet/regtest
<bitcoin-network>=1
# Connections
rpcallowip=<gateway-ip>/16
rpcallowip=127.0.0.1
rpcauth=<bitcoin-rpc-auth>
# Memory
dbcache=200
maxmempool=300
# zmq
zmqpubrawblock=tcp://0.0.0.0:<bitcoin-zmq-rawblock-port>
zmqpubrawtx=tcp://0.0.0.0:<bitcoin-zmq-rawtx-port>
zmqpubhashblock=tcp://0.0.0.0:<bitcoin-zmq-hashblock-port>
2022-02-28 21:14:03 +00:00
zmqpubsequence=tcp://0.0.0.0:<bitcoin-zmq-sequence-port>
# Indexes
txindex=1
blockfilterindex=1
# SPV
peerbloomfilters=1
peerblockfilters=1
# Bitcoin Knots only, Bitcoin Core simply ignores this
reindex=auto
2022-01-05 16:10:46 +00:00
<external-ip>
2022-02-09 06:47:40 +00:00
# NOTE: The options addnode, connect, port, bind, rpcport, rpcbind and wallet
# only apply to mainnet unless they appear in the appropriate section below.
2022-02-09 06:47:40 +00:00
<network-section>
bind=<bitcoin-ip>
2022-02-09 06:47:40 +00:00
port=<bitcoin-p2p-port>
rpcport=<bitcoin-rpc-port>
rpcbind=<bitcoin-ip>
rpcbind=127.0.0.1