SYNOPSIS
All command-line options (except for '-datadir' and '-conf') may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file.- The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character.
- The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, litecoind(1) will look for a file named litecoin.conf(5) in the litecoin data directory, but both the data directory and the configuration file path may be changed using the '-datadir' and '-conf' command-line arguments.
LOCATION
litecoin.conf should be located in $HOME/.litecoinNETWORK-RELATED SETTINGS
- testnet=['1'|'0']
-
- Enable or disable run on the test network instead of the real *litecoin* network.
- proxy='127.0.0.1:9050'
- Connect via a socks4 proxy.
- addnode='10.0.0.2:8333'
- Use as many *addnode=* settings as you like to connect to specific peers.
- connect='10.0.0.1:8333'
- Use as many *connect=* settings as you like to connect ONLY to specific peers.
- noirc=['1'|'0']
- Use or Do not use Internet Relay Chat (irc.lfnet.org #litecoin channel) to find other peers.
- maxconnections='value'
- Maximum number of inbound+outbound connections.
JSON-RPC OPTIONS
- server=['1'|'0']
- Tells *litecoin* to accept or not accept JSON-RPC commands.
- rpcuser='username'
- You must set *rpcuser* to secure the JSON-RPC api.
- rpcpassword='password'
- You must set *rpcpassword* to secure the JSON-RPC api.
- rpctimeout='30'
- How many seconds *litecoin* will wait for a complete RPC HTTP request, after the HTTP connection is established.
- rpcallowip='192.168.1.*'
- By default, only RPC connections from localhost are allowed. Specify as many *rpcallowip=* settings as you like to allow connections from other hosts (and you may use * as a wildcard character).
- rpcport='8332'
- Listen for RPC connections on this TCP port.
- rpcconnect='127.0.0.1'
- You can use *litecoin* or *litecoind(1)* to send commands to *litecoin*/*litecoind(1)* running on another host using this option.
- rpcssl='1'
- Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with *litecoin* '-server' or *litecoind(1)*. Example of OpenSSL settings used when *rpcssl*='1':
- rpcsslciphers='TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH'
- rpcsslcertificatechainfile='server.cert'
- rpcsslprivatekeyfile='server.pem'
MISCELLANEOUS OPTIONS
- gen=['0'|'1']
- Enable or disable attempt to generate litecoins.
- 4way=['0'|'1']
- Enable or disable use SSE instructions to try to generate litecoins faster.
- keypool='100'
- Pre-generate this many public/private key pairs, so wallet backups will be valid for both prior transactions and several dozen future transactions.
- paytxfee='0.00'
- Pay an optional transaction fee every time you send litecoins. Transactions with fees are more likely than free transactions to be included in generated blocks, so may be validated sooner.
- allowreceivebyip='1'
- Allow direct connections for the 'pay via IP address' feature.
USER INTERFACE OPTIONS
- min=['0'|'1']
- Enable or disable start litecoind minimized.
- minimizetotray=['0'|'1']
- Enable or disable minimize to the system tray.
AUTHOR
This manual page was written by Micah Anderson <[email protected]> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.