LITECOIN.CONF(5)
π litecoin.conf β the config file, bestie edition π
okay so real talk: this is the manual for litecoin.conf, the litecoin configuration file (section 5 of the File Formats Manual, iykyk). grab a snack, we're going through everything. π
β¨ NAME β¨
litecoin.conf β the litecoin configuration file. that's it, that's the name, iconic behavior honestly π
πΈ SYNOPSIS πΈ
okay so here's the whole deal:
- every command-line option (except for
-datadirand-conf) can be dropped into a configuration file instead. - and every configuration file option can also be thrown on the command line.
- if both exist? command-line options override the values set in the configuration file. periodt. π
the config file itself is just a list of setting=value pairs, one per line, with optional comments that start with the # character. that's the entire format, no cap.
π«Ά heads up bestie: the configuration file is not automatically created. you gotta make it yourself with your favorite plain-text editor. by default,litecoind(1)will look for a file namedlitecoin.conf(5)in the litecoin data directory β but both the data directory and the configuration file path can be changed using the-datadirand-confcommand-line arguments. flexible queen β¨
π¦ LOCATION π¦
litecoin.conf should be located in $HOME/.litecoin
like, that's home. that's where she lives. π
π NETWORK-RELATED SETTINGS π
testnet=['1'|'0']β turn on or off running on the test network instead of the real litecoin network. testnet is the practice-mode vibe, fr fr.proxy='127.0.0.1:9050'β connect via a socks4 proxy. sneaky, lowkey.addnode='10.0.0.2:8333'β use as manyaddnode=settings as you like to connect to specific peers. one is fine, forty is also fine, we don't judge. πconnect='10.0.0.1:8333'β use as manyconnect=settings as you like to connect ONLY to specific peers. note the ONLY, bestie, that word is doing heavy lifting. no other peers, just these. π―noirc=['1'|'0']β use or do not use Internet Relay Chat (irc.lfnet.org#litecoinchannel) to find other peers. yes that's a real channel, yes it's giving 2011, we love her anyway.maxconnections='value'β maximum number of inbound + outbound connections. the guest list limit. π
π JSON-RPC OPTIONS π
server=['1'|'0']β tells litecoin to accept or not accept JSON-RPC commands. the on/off switch for being bossable. πrpcuser='username'β you must setrpcuserto secure the JSON-RPC api.rpcpassword='password'β you must setrpcpasswordto secure the JSON-RPC api. yes, both. no, you can't skip one. this is the lock on the door bestie πrpctimeout='30'β how many seconds litecoin will wait for a complete RPC HTTP request, after the HTTP connection is established. she's patient but not that patient.rpcallowip='192.168.1.*'β by default, only RPC connections from localhost are allowed. specify as manyrpcallowip=settings as you like to allow connections from other hosts β and yes, you may use*as a wildcard character. use this power responsibly pls πrpcport='8332'β listen for RPC connections on this TCP port. that's the default port, she's a classic.rpcconnect='127.0.0.1'β you can use litecoin orlitecoind(1)to send commands to litecoin/litecoind(1)running on another host using this option. long-distance relationship, but make it RPC πrpcssl='1'β use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with litecoin-serverorlitecoind(1). example of OpenSSL settings used whenrpcssl='1':rpcsslciphers='TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH'rpcsslcertificatechainfile='server.cert'rpcsslprivatekeyfile='server.pem'
β MISCELLANEOUS OPTIONS β
the grab bag section, we love a mixed bag π
gen=['0'|'1']β enable or disable attempt to generate litecoins. mining arc, but optional.4way=['0'|'1']β enable or disable use SSE instructions to try to generate litecoins faster. speedrun strats πβοΈ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. future-proofing, we stan a planner. β¨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. tl;dr: paying the fee is the fast pass, skipping it is the standby line. π’allowreceivebyip='1'β allow direct connections for thepay via IP addressfeature.
π§ USER INTERFACE OPTIONS π§
min=['0'|'1']β enable or disable startlitecoindminimized. tiny window, big mood.minimizetotray=['0'|'1']β enable or disable minimize to the system tray. she tucks herself away so politely π
π SEE ALSO π
that's the whole list. one icon. the main character herself.
π«Ά AUTHOR π«Ά
This manual page was written by Micah Anderson <micah@debian.org> 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.
like, slay. legally slay. π
okay that's the whole page bestie, you're officially literate in litecoin.conf now πβ¨
litecoin.conf 3.19 πΈ January 2011 πΈ LITECOIN.CONF(5) β bye pookie, go configure something π«Άπ
π¦ where this page comes from
- debian bookworm: litecoind 0.21.2.1-1+b1 Β· MIT
- debian trixie: litecoind 0.21.4-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms