Both the dcrd and dcrwallet daemons should work with default configuration for most users, however there is a wide variety of command line aguments to change the way they behave if required. For example, the following command can be used to change the log directory dcrd will write to.

dcrd --logdir=/my/custom/log/directory

dcrd and dcrwallet both support a --help argument which will print details of all the arguments they support and then exit immediately.

Disable built-in checkpoints. Don’t do this unless you know what you’re doing.

--dbtype=

Database backend to use for the Block Chain (default: ffldb)

--profile=

Enable HTTP profiling on given [addr:]port – NOTE: port must be between 1024 and 65536

--cpuprofile=

Write CPU profile to the specified file

--memprofile=

Write mem profile to the specified file

--dumpblockchain=

Write blockchain as a flat file of blocks for use with addblock, to the specified filename

--miningtimeoffset=

Offset the mining timestamp of a block by this many seconds (positive values are in the past)

-d or --debuglevel=

Logging level for all subsystems {trace, debug, info, warn, error, critical} – You may also specify =,=,… to set the log level for individual subsystems – Use show to list available subsystems (default: info)

--upnp

Use UPnP to map our listening port outside of NAT

--minrelaytxfee=

The minimum transaction fee in DCR/kB to be considered a non-zero fee. (default: 0.0001)

--limitfreerelay=

Limit relay of transactions with no transaction fee to the given amount in thousands of bytes per minute (default: 15)

--norelaypriority

Do not require free or low-fee transactions to have high priority for relaying

--maxorphantx=

Max number of orphan transactions to keep in memory (default: 1000)

--generate

Generate (mine) coins using the CPU

--miningaddr=

Add the specified payment address to the list of addresses to use for generated blocks – At least one address is required if the generate option is set

--blockminsize=

Mininum block size in bytes to be used when creating a block

--blockmaxsize=

Maximum block size in bytes to be used when creating a block (default: 375000)

--blockprioritysize=

Size in bytes for high-priority/low-fee transactions when creating a block (default: 20000)

--getworkkey=

DEPRECATED – Use the --miningaddr option instead

--sigcachemaxsize=

The maximum number of entries in the signature verification cache (default: 100000)

--nonaggressive

Disable mining off of the parent block of the blockchain if there aren’t enough voters

--nominingstatesync

Disable synchronizing the mining state with other nodes

--allowoldvotes

Enable the addition of very old votes to the mempool

--blocksonly

Do not accept transactions from remote peers.

--acceptnonstd

Accept and relay non-standard transactions to the network regardless of the default settings for the active network.

--rejectnonstd

Reject non-standard transactions regardless of the default settings for the active network.

--txindex

Maintain a full hash-based transaction index which makes all transactions available via the getrawtransaction RPC

--droptxindex

Deletes the hash-based transaction index from the database on start up and then exits.

--addrindex

Maintain a full address-based transaction index which makes the searchrawtransactions RPC available

--dropaddrindex

Deletes the address-based transaction index from the database on start up and then exits.

--noexistsaddrindex

Disable the exists address index, which tracks whether or not an address has even been used.

--dropexistsaddrindex

Deletes the exists address index from the database on start up and then exits.

--nocfilters

Disable compact filtering (CF) support

--dropcfindex

Deletes the index used for compact filtering (CF) support from the database on start up and then exits.