Qwertycoind can accept settings through a configuration file. This is the output of daemon’s help command on acceptable parameters:

all of the command line options can be defined through the configuration file.

Command line options:
  –help Produce help message
  –version Output version information
  –data-dir arg Specify data directory
  –config-file arg(=qwertycoin.conf) Specify configuration file
Command line options and settings options:
  –log-file arg
  –log-level arg (=0)
  –no-console Disable daemon console commands
  –rpc-bind-ip arg (=
  –rpc-bind-port arg (=8197)
  –p2p-bind-ip arg (= Interface for p2p network protocol
  –p2p-bind-port arg (=8196) Port for p2p network protocol
  –p2p-external-port arg (=0) External port for p2p network protocol (if port forwarding used with NAT)
  –allow-local-ip Allow local ip add to peer list, mostly in debug purposes
  –add-peer arg Manually add peer to local peerlist
  –add-priority-node arg Specify list of peers to connect to and attempt to keep the connection open
  –add-exclusive-node arg Specify list of peers to connect to and attempt to keep the connection open
  –seed-node arg Connect to a node to retrieve peer addresses, and disconnect
  –hide-my-port Do not announce yourself as peerlist candidate
  –extra-messages-file arg Specify file for extra messages to include into coinbase transactions
  –start-mining arg Specify wallet address to mining for
  –mining-threads arg Specify mining threads count

If a parameter is defined in the config and was also indicated in the command line, two behaviors are possible. If the parameter accepts one value only (e.g., rpc-bind-ip), the command line value will be used, since it has a higher priority. If the parameter accepts several values (e.g., add-priority-node), then command line and configuration file values will be merged.

By default config file’s name is “qwertycoin.conf”, which is located in the binaries folder. However, you may adjust the destination to the file via “–config-file” option in the command line.

If some of the options are not defined in the config, the default values will be applied. Here’s the example of a possible configuration file:







0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *