# Bitcoin Core — mainnet
# Placed at /data/bitcoin/bitcoin.conf on the droplet

# Network
server=1
listen=1
bind=0.0.0.0

# RPC (internal Docker network only — never exposed publicly)
rpcbind=0.0.0.0
rpcallowip=172.0.0.0/8
rpcuser=satoshi
# rpcpassword is set by setup.sh — do not hardcode here

# ZMQ — LND uses these to get notified of new blocks/txs
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawrx=tcp://0.0.0.0:28333

# Performance
dbcache=512
maxmempool=300
maxconnections=40

# Prune options — choose one:
#   Full node (recommended, ~600GB): comment out both prune lines
#   Pruned (~10GB, lower cost but loses historical tx data):
# prune=10240

# Logging
debug=0
