githubEdit

Configuration

All configuration options can be passed as argument -key=value or defined in the bitcoin.conf. The location of the config file can be defined with -conf=/path/to/bitcoin.conf.

General Options

# Run in the background as a daemon and accept commands
daemon=1

# Location of data directory
datadir=<dir>

# Accept command line and JSON-RPC commands
server=1

# Size of block data files on disk (default is 128MB)
preferredblockfilesize=<size>

Chain Selection Options

# Do not define any of these options to use mainnet

# Use the test chain
testnet=1

# Use the Scaling Test Network
stn=1

# Enter regression test mode, which uses a special chain in which blocks
# can be solved instantly. This is intended for regression testing
# tools and app development.
regtest=1

RPC Server Options

Connection Options

Node Relay Options

Mining Options

ZeroMQ Notification Options

Please note that any publications you enable, should be consumed to prevent excessive memory usage. More detailed information on ZMQ available in the repo: https://github.com/bitcoin-sv/bitcoin-sv/blob/master/doc/zmq.mdarrow-up-right

Debug Options

Advanced Options

A full list of all options can be retrieved by calling bitcoind -help and bitcoind -help -help-debug.

Last updated

Was this helpful?