LITECOIN-QT(1)
π LITECOIN-QT(1) π
okay bestie, welcome to the litecoin-qt manual page β yes that's the user-commands one, and yes it's long, and yes we're doing all of it. no skimming. grab a snack. π
β¨ NAME β¨
litecoin-qt β manual page for litecoin-qt v0.21.4.0
π¦ SYNOPSIS π¦
litecoin-qt [command-line options]
πΈ DESCRIPTION πΈ
Litecoin Core version v0.21.4.0-dirty
like... that's the version. she's a little dirty (literally, the string says so) but she's iconic and she works. π
π OPTIONS π
okay so this is the big one. every single flag, right here, no skipping, no cap.
-?β print this help message and dip out. that's it. that's the whole vibe. β¨-alertnotify=<cmd>β run a command when a relevant alert comes through, or when we see a really long fork. the%sinsidecmdgets swapped out for the message. π£-assumevalid=<hex>β if this block is in the chain, assume it and all its ancestors are valid, and potentially skip verifying their scripts. set it to0to verify literally everything instead. defaults are:- default:
80cdb35c080484df5bf384b311fde3c4694d3405765bc0f596e9eb369ff286e5 - testnet:
4a280c0e150e3b74ebe19618e6394548c8a39d5549fd9941b9c431c73822fbd5 - signet:
4a280c0e150e3b74ebe19618e6394548c8a39d5549fd9941b9c431c73822fbd5
- default:
-blockfilterindex=<type>β keep an index of compact filters, per block. default is1, and the known value isbasic. if you don't give a<type>, or you give<type>=1, then indexes for all known types get enabled. ποΈ-blocknotify=<cmd>β run a command when the best block changes.%sincmdgets replaced by the block hash. π-blockreconstructionextratxn=<n>β extra transactions kept in memory for compact block reconstructions. default:100.-blocksdir=<dir>β where the blocks subdirectory lives, the one holding all the*.datfiles. default:<datadir>. π-blocksonlyβ whether to reject transactions from network peers. automatic broadcast and rebroadcast of any transactions from inbound peers gets disabled, unless that peer has the'forcerelay'permission. RPC transactions are not affected by this. default:0.-conf=<file>β path to a read-only configuration file. relative paths get prefixed with the datadir location. default:litecoin.conf.-daemonβ run in the background as a daemon and accept commands. main character energy, but make it headless. π§-datadir=<dir>β specify the data directory.-dbcache=<n>β max database cache size, in MiB. range is4to16384, default:450. also, unused mempool memory gets shared into this cache (peep-maxmempool). πΎ-debuglogfile=<file>β where the debug log file goes. relative paths get prefixed with a net-specific datadir location. (-nodebuglogfiledisables it entirely.) default:debug.log.-includeconf=<file>β specify an additional configuration file, relative to the-datadirpath. β οΈ only usable from a configuration file β not from the command line.-loadblock=<file>β import blocks from an external file on startup.-maxmempool=<n>β keep the transaction memory pool under<n>megabytes. default:300.-maxorphantx=<n>β keep at most<n>unconnectable transactions in memory. default:100.-mempoolexpiry=<n>β don't keep transactions in the mempool longer than<n>hours. default:336.-par=<n>β set the number of script verification threads. range is-64to15;0= auto, and<0= leave that many cores free. default:0. π§΅-persistmempoolβ whether to save the mempool on shutdown and load it again on restart. default:1.-pid=<file>β specify the pid file. relative paths get prefixed with a net-specific datadir location. default:litecoind.pid.-prune=<n>β reduce storage requirements by enabling pruning (deleting) of old blocks. this lets thepruneblockchainRPC be called to delete specific blocks, and it enables automatic pruning of old blocks if you give it a target size in MiB.
π¨ this mode is incompatible with-txindexand-rescan. and warning, bestie: reverting this setting means re-downloading the entire blockchain. no take-backs.
default: 0 = disable pruning blocks, 1 = allow manual pruning via RPC, >=550 = automatically prune block files to stay under the specified target size in MiB.
-reindexβ rebuild chain state and block index from theblk*.datfiles on disk.-reindex-chainstateβ rebuild chain state from the currently indexed blocks. if you're in pruning mode, or blocks on disk might be corrupted, use full-reindexinstead. π-settings=<file>β path to the dynamic settings data file. can be disabled with-nosettings. this file gets written at runtime and is not meant to be edited by users (uselitecoin.confinstead for custom settings, bestie). relative paths get prefixed with the datadir location. default:settings.json.-startupnotify=<cmd>β run a command on startup.-syspermsβ create new files with the system default permissions instead of umask077. only effective with wallet functionality disabled.-txindexβ maintain a full transaction index, used by thegetrawtransactionRPC call. default:0.-versionβ print version and exit.
π Connection options: π
networking time. this is where the peer stuff lives. π
-addnode=<ip>β add a node to connect to and try to keep that connection open (peep theaddnodeRPC command help for more info). you can specify this option multiple times to add multiple nodes.-asmap=<file>β specify the ASN mapping used for bucketing the peers. default:ip_asn.map. relative paths get prefixed with the net-specific datadir location.-bantime=<n>β default duration, in seconds, of manually configured bans. default:86400.-bind=<addr>[:<port>][=onion]β bind to the given address and always listen on it. default:0.0.0.0. use[host]:portnotation for IPv6. append=onionto tag any incoming connections to that address and port as incoming Tor connections. defaults:- default:
127.0.0.1:9333=onion - testnet:
127.0.0.1:19335=onion - signet:
127.0.0.1:39335=onion - regtest:
127.0.0.1:19444=onion
- default:
-connect=<ip>β connect only to the specified node.-noconnectdisables automatic connections. (the rules for this peer are the same as for-addnode.) you can specify this multiple times to connect to multiple nodes.-discoverβ discover your own IP addresses. default:1when listening and there's no-externalipor-proxy.-dnsβ allow DNS lookups for-addnode,-seednodeand-connect. default:1.-dnsseedβ query for peer addresses via DNS lookup if you're low on addresses. default:1unless-connectis used.-externalip=<ip>β specify your own public address.-forcednsseedβ always query for peer addresses via DNS lookup. default:0.-listenβ accept connections from outside. default:1if there's no-proxyor-connect.-listenonionβ automatically create a Tor onion service. default:1. π§-maxconnections=<n>β maintain at most<n>connections to peers. default:125.-maxreceivebuffer=<n>β maximum per-connection receive buffer,<n>*1000bytes. default:5000.-maxsendbuffer=<n>β maximum per-connection send buffer,<n>*1000bytes. default:1000.-maxtimeadjustmentβ maximum allowed median peer time offset adjustment. your local perspective of time may be pushed forward or backward by peers by this amount. default:2100seconds. π°οΈ-maxuploadtarget=<n>β tries to keep outbound traffic under the given target, in MiB per 24h. the limit does not apply to peers with'download'permission.0= no limit. default:0.-networkactiveβ enable all P2P network activity. default:1. can be changed by thesetnetworkactiveRPC command.-onion=<ip:port>β use a separate SOCKS5 proxy to reach peers via Tor onion services. set-noonionto disable. default:-proxy.-onlynet=<net>β make outgoing connections only through network<net>(ipv4,ipv6oronion). incoming connections are not affected by this. you can specify this multiple times to allow multiple networks.-peerblockfiltersβ serve compact block filters to peers per BIP 157. default:1.-peerbloomfiltersβ support filtering of blocks and transactions with bloom filters. default:0.-permitbaremultisigβ relay non-P2SH multisig. default:1.-port=<port>β listen for connections on<port>. heads up: nodes not using the default ports are unlikely to get incoming connections. defaults:9333, testnet:19335, signet:19335, regtest:19444.-proxy=<ip:port>β connect through a SOCKS5 proxy. set-noproxyto disable. default: disabled.-proxyrandomizeβ randomize credentials for every proxy connection. this enables Tor stream isolation. default:1. β¨-seednode=<ip>β connect to a node to retrieve peer addresses, then disconnect. you can specify this multiple times to connect to multiple nodes.-timeout=<n>β specify connection timeout in milliseconds. minimum:1, default:5000.-torcontrol=<ip>:<port>β Tor control port to use if onion listening is enabled. default:127.0.0.1:9051.-torpassword=<pass>β Tor control port password. default: empty.-upnpβ use UPnP to map the listening port. default:0.-whitebind=<[permissions@]addr>β bind to the given address and add permission flags to the peers connecting to it. use[host]:portnotation for IPv6. allowed permissions are:bloomfilterβ allow requesting BIP37 filtered blocks and transactionsnobanβ do not ban for misbehavior; impliesdownloadforcerelayβ relay transactions that are already in the mempool; impliesrelayrelayβ relay even in-blocksonlymode, and unlimited transaction announcementsmempoolβ allow requesting BIP35 mempool contentsdownloadβ allowgetheadersduring IBD, no disconnect aftermaxuploadtargetlimitaddrβ responses to GETADDR avoid hitting the cache and contain random records with the most up-to-date info
specify multiple permissions separated by commas. default: download,noban,mempool,relay. can be specified multiple times.
-whitelist=<[permissions@]IP address or network>β add permission flags to the peers connecting from the given IP address (e.g.1.2.3.4) or CIDR-notated network (e.g.1.2.3.0/24). uses the same permissions as-whitebind. can be specified multiple times. π«Ά
π Wallet options: π
-addresstype
more coming, bestie β don't go anywhere π
okay so what type of addresses to use? you got "legacy", "p2sh-segwit", or "bech32", and the default is "bech32" bestie π
-avoidpartialspendsβ group outputs by address, selecting all or none, instead of selecting on a per-output basis. privacy is improved because an address is only used once (unless someone sends to it after spending from it), but it may result in slightly higher fees as suboptimal coin selection may result due to the added limitation (default:0(always enabled for wallets with"avoid_reuse"enabled)) β¨-changetypeβ what type of change to use ("legacy","p2sh-segwit", or"bech32"). default is same as-addresstype, except when-addresstype=p2sh-segwita native segwit output is used when sending to a native segwit address πΈ-disablewalletβ do not load the wallet and disable wallet RPC calls. no wallet, no stress π«-discardfee=<amt>β the fee rate (in LTC/kB) that indicates your tolerance for discarding change by adding it to the fee (default:0.0001). note: an output is discarded if it is dust at this rate, but we will always discard up to the dust relay fee and a discard fee above that is limited by the fee estimate for the longest target ποΈ-fallbackfee=<amt>β a fee rate (in LTC/kB) that will be used when fee estimation has insufficient data.0to entirely disable the fallbackfee feature. (default:0.002) π-keypool=<n>β set key pool size to<n>(default:1000). β οΈ warning: smaller sizes may increase the risk of losing funds when restoring from an old backup, if none of the addresses in the original keypool have been used. so maybe don't go tiny bestie π-maxapsfee=<n>β spend up to this amount in additional (absolute) fees (in LTC) if it allows the use of partial spend avoidance (default:0.00) πΈ-mintxfee=<amt>β fees (in LTC/kB) smaller than this are considered zero fee for transaction creation (default:0.0001) β¨-paytxfee=<amt>β fee (in LTC/kB) to add to transactions you send (default:0.00) π€-rescanβ rescan the block chain for missing wallet transactions on startup π-spendzeroconfchangeβ spend unconfirmed change when sending transactions (default:1) πΈ-txconfirmtarget=<n>β ifpaytxfeeis not set, include enough fee so transactions begin confirmation on average withinnblocks (default:6) β³-wallet=<path>β specify wallet path to load at startup. can be used multiple times to load multiple wallets. path is to a directory containing wallet data and log files. if the path is not absolute, it is interpreted relative to<walletdir>. this only loads existing wallets and does not create new ones. for backwards compatibility this also accepts names of existing top-level data files in<walletdir>. π-walletbroadcastβ make the wallet broadcast transactions (default:1) π‘-walletdir=<dir>β specify directory to hold wallets (default:<datadir>/walletsif it exists, otherwise<datadir>) π-walletnotify=<cmd>β execute command when a wallet transaction changes.%sin cmd is replaced by TxID and%wis replaced by wallet name.%wis not currently implemented on windows. on systems where%wis supported, it should NOT be quoted because this would break shell escaping used to invoke the command. π-walletrbfβ send transactions with full-RBF opt-in enabled (RPC only, default:0) π
β¨ ZeroMQ notification options: β¨
-zmqpubhashblock=<address>β enable publish hash block in<address>π§±-zmqpubhashblockhwm=<n>β set publish hash block outbound message high water mark (default:1000) π-zmqpubhashtx=<address>β enable publish hash transaction in<address>π-zmqpubhashtxhwm=<n>β set publish hash transaction outbound message high water mark (default:1000) π-zmqpubrawblock=<address>β enable publish raw block in<address>π§±-zmqpubrawblockhwm=<n>β set publish raw block outbound message high water mark (default:1000) π-zmqpubrawtx=<address>β enable publish raw transaction in<address>π-zmqpubrawtxhwm=<n>β set publish raw transaction outbound message high water mark (default:1000) π-zmqpubsequence=<address>β enable publish hash block and tx sequence in<address>πΆ-zmqpubsequencehwm=<n>β set publish hash sequence message high water mark (default:1000) π
π Debugging/Testing options: π
-debug=<category>β output debugging information (default:-nodebug, supplying<category>is optional). if<category>is not supplied or if<category> = 1, output all debugging information.<category>can be:net,tor,mempool,http,bench,zmq,walletdb,rpc,estimatefee,addrman,selectcoins,reindex,cmpctblock,rand,prune,proxy,mempoolrej,libevent,coindb,qt,leveldb,validation. π-debugexclude=<category>β exclude debugging information for a category. can be used in conjunction with-debug=1to output debug logs for all categories except one or more specified categories. π«-help-debugβ print help message with debugging options and exit π-logipsβ include IP addresses in debug output (default:0) π-logthreadnamesβ prepend debug output with name of the originating thread (only available on platforms supportingthread_local) (default:0) π§΅-logtimestampsβ prepend debug output with timestamp (default:1) β°-maxtxfee=<amt>β maximum total fees (in LTC) to use in a single wallet transaction; setting this too low may abort large transactions (default:0.10) πΈ-printtoconsoleβ send trace/debug info to console (default:1when no-daemon. to disable logging to file, set-nodebuglogfile) π¨οΈ-shrinkdebugfileβ shrinkdebug.logfile on client startup (default:1when no-debug) π-uacomment=<cmt>β append comment to the user agent string π¬
βοΈ Chain selection options: βοΈ
-chain=<chain>β use the chain<chain>(default:main). allowed values:main,test,signet,regtestπ-signetβ use the signet chain. equivalent to-chain=signet. note that the network is defined by the-signetchallengeparameter ποΈ-signetchallengeβ blocks must satisfy the given script to be considered valid (only for signet networks; defaults to the global default signet test network challenge) π-signetseednodeβ specify a seed node for the signet network, in thehostname[:port]format, e.g.sig.net:1234(may be used multiple times to specify multiple seed nodes; defaults to the global default signet test network seed node(s)) π±-testnetβ use the test chain. equivalent to-chain=test. π§ͺ
π‘ Node relay options: π‘
-bytespersigopβ equivalent bytes per sigop in transactions for relay and mining (default:20) π-datacarrierβ relay and mine data carrier transactions (default:1) π¦-datacarriersizeβ maximum size of data in data carrier transactions we relay and mine (default:83) π-mempoolreplacementβ enable transaction replacement in the memory pool (default:0) π-minrelaytxfee=<amt>β fees (in LTC/kB) smaller than this are considered zero fee for relaying, mining and transaction creation (default:0.00001) πΈ-whitelistforcerelayβ add'forcerelay'permission to whitelisted inbound peers with default permissions. this will relay transactions even if the transactions were already in the mempool. (default:0) β-whitelistrelayβ add'relay'permission to whitelisted inbound peers with default permissions. this will accept relayed transactions even when not relaying transactions (default:1) β
π§± Block creation options: π§±
-blockmaxweight=<n>β set maximum BIP141 block weight (default:3996000) βοΈ-blockmintxfee=<amt>β set lowest fee rate (in LTC/kB) for transactions to be included in block creation. (default:0.00001) πΈ
π₯οΈ RPC server options: π₯οΈ
-restβ accept public REST requests (default:0) π-rpcallowip=<ip>β allow JSON-RPC connections from specified source. valid for<ip>are a single IP (e.g.1.2.3.4), a network/netmask (e.g.1.2.3.4/255.255.255.0) or a network/CIDR (e.g.1.2.3.4/24). this option can be specified multiple times π-rpcauth=<userpw>β username and HMAC-SHA-256 hashed password for JSON-RPC connections. the field<userpw>comes in the format:<USERNAME>:<SALT>$<HASH>. a canonical python script is included inshare/rpcauth. the client then connects normally using therpcuser=<USERNAME>/rpcpassword=<PASSWORD>pair of arguments. this option can be specified multiple times π-rpcbind=<addr>[:port]β bind to given address to listen for JSON-RPC connections. do not expose the RPC server to untrusted networks such as the public internet! β οΈ this option is ignored unless-rpcallowipis also passed. port is optional and overrides-rpcport. use[host]:portnotation for IPv6. this option can be specified multiple times (default:127.0.0.1and::1i.e., localhost) π-rpccookiefile=<loc>β location of the auth cookie. relative paths will be prefixed by a net-specific datadir location. (default: data dir) πͺ-rpcpassword=<pw>β password for JSON-RPC connections π-rpcport=<port>β listen for JSON-RPC connections on<port>(default:9332, testnet:19332, signet:39332, regtest:19443) π-rpcserialversionβ sets the serialization of raw transaction or block hex returned in non-verbose mode, non-segwit(0) or segwit(1) (default:2) π’-rpcthreads=<n>β set the number of threads to service RPC calls (default:4) π§΅-rpcuser=<user>β username for JSON-RPC connections π€-rpcwhitelist=<whitelist>β set a whitelist to filter incoming RPC calls for a specific user. the field<whitelist>comes in the format:<USERNAME>:<rpc 1>,<rpc 2>,...,<rpc n>. if multiple whitelists are set for a given user, they are set-intersected. see-rpcwhitelistdefaultdocumentation for information on default whitelist behavior. π-rpcwhitelistdefault
...and lowkey this one is the vibe check of your whole RPC situation, so listen up bestie π«Ά
-rpcwhitelistdefault β sets the default behavior for rpc whitelisting. Unless rpcwhitelistdefault is set to 0, if any -rpcwhitelist is set, the rpc server acts as if all rpc users are subject to empty-unless-otherwise-specified whitelists. And if rpcwhitelistdefault is set to 1 and no -rpcwhitelist is set, the rpc server acts as if all rpc users are subject to empty whitelists. fr fr, it's giving "no keys, no entry" β¨
π₯ More Options (the main character energy continues) π₯
-serverβ accept command line and JSON-RPC commands. she said "I'm a server now, periodt" π
π UI Options π
like, the actual pretty-face settings for the app itself πΈ
-choosedatadirβ choose data directory on startup (default:0)-lang=<lang>β set language, for example"de_DE"(default: system locale). yes bestie, actual<lang>placeholder, don't @ me π-minβ start minimized. tiny window, big personality π¦-resetguisettingsβ reset all settings changed in the GUI. a full factory-reset glow-up π-splashβ show splash screen on startup (default:1)
π COPYRIGHT π
okay so legally this part is important, not just vibes:
Copyright (C) 2011-2024 The Litecoin Core developers Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Litecoin Core useful. Visit <https://litecoin.org/> for further information about the software. The source code is available from <https://github.com/litecoin-project/litecoin>.
β οΈ This is experimental software. Distributed under the MIT software license, see the accompanying file COPYING or <https://opensource.org/licenses/MIT>. no cap, read the license, bestie, it's literally right there π
and that's the whole page, we ate and left no crumbs π this was litecoin-qt v0.21.4.0, dated October 2024, filed under LITECOIN-QT(1) πβ¨ go be iconic with it, ily π«Ά
π¦ where this page comes from
- debian trixie: litecoin-qt 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