Skip to content

Instantly share code, notes, and snippets.

@rohenaz
Last active May 16, 2020 16:09
Show Gist options
  • Save rohenaz/e2335f6ea372c09f4c5e57fe4a35a1a9 to your computer and use it in GitHub Desktop.
Save rohenaz/e2335f6ea372c09f4c5e57fe4a35a1a9 to your computer and use it in GitHub Desktop.
Bitcoin SV node configuration example - for planaria + ubuntu
# location to store blockchain and other data.
datadir=/home/satchmo/.bitcoin
dbcache=4000
usecashaddr=0
# Must set txindex=1 so Bitcoin keeps the full index
txindex=1
# [rpc]
# Accept command line and JSON-RPC commands.
server=1
# Default Username and Password for JSON-RPC connections
rpcuser=root
rpcpassword=bitcoin
# If you want to allow remote JSON-RPC access
rpcallowip=0.0.0.0/0
# [ZeroMQ]
# ZeroMQ messages power the realtime Planaria crawler
# so it is important to set the endpoint
zmqpubhashtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
# Planaria makes heavy use of JSON-RPC so it is set to a higher number
# But you can tweak this number as you want
rpcworkqueue=512
# Support large mempool
maxmempool=6000
# Support large pushdata
datacarriersize=100000
limitancestorsize=100000
limitdescendantsize=100000
# Max upload limit (max N size MiB) (optional for Planaria)
# maxuploadtarget=250
# Max connections to other nodes (max nodes) (optional for Planaria)
maxconnections=6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment