<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lilmatt</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lilmatt"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Lilmatt"/>
	<updated>2026-04-13T01:32:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=31423</id>
		<title>Running Bitcoin</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=31423"/>
		<updated>2012-10-02T16:03:50Z</updated>

		<summary type="html">&lt;p&gt;Lilmatt: add mac screenshot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two variations of the original bitcoin program available; one with a graphical user interface (usually referred to as just “Bitcoin”), and a &#039;headless&#039; version (called [[bitcoind]]). They are completely compatible with each other, and take the same command-line arguments, read the same configuration file, and read and write the same data files. You can run one copy of either Bitcoin or bitcoind on your system at a time (if you accidently try to launch another, the copy will let you know that Bitcoin or bitcoind is already running and will exit).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
==Command-line arguments==&lt;br /&gt;
&lt;br /&gt;
Give Bitcoin (or bitcoind) the -? or –-help argument and it will print out a list of the most commonly used command-line arguments and then exit:&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
  bitcoind [options]                     &lt;br /&gt;
  bitcoind [options] &amp;lt;command&amp;gt; [params]  Send command to -server or bitcoind&lt;br /&gt;
  bitcoind [options] help                List commands&lt;br /&gt;
  bitcoind [options] help &amp;lt;command&amp;gt;      Get help for a command&lt;br /&gt;
Options:&lt;br /&gt;
  -conf=&amp;lt;file&amp;gt;       Specify configuration file (default: bitcoin.conf)&lt;br /&gt;
  -pid=&amp;lt;file&amp;gt;        Specify pid file (default: bitcoind.pid)&lt;br /&gt;
  -gen               Generate coins&lt;br /&gt;
  -gen=0             Don&#039;t generate coins&lt;br /&gt;
  -min               Start minimized&lt;br /&gt;
  -datadir=&amp;lt;dir&amp;gt;     Specify data directory&lt;br /&gt;
  -timeout=&amp;lt;n&amp;gt;       Specify connection timeout (in milliseconds)&lt;br /&gt;
  -proxy=&amp;lt;ip:port&amp;gt;   Connect through socks4 proxy&lt;br /&gt;
  -dns               Allow DNS lookups for addnode and connect&lt;br /&gt;
  -port=&amp;lt;port&amp;gt;       Listen for connections on &amp;lt;port&amp;gt; (default: 8333 or testnet: 18333)&lt;br /&gt;
  -maxconnections=&amp;lt;n&amp;gt;  Maintain at most &amp;lt;n&amp;gt; connections to peers (default: 125)&lt;br /&gt;
  -addnode=&amp;lt;ip&amp;gt;      Add a node to connect to&lt;br /&gt;
  -connect=&amp;lt;ip&amp;gt;      Connect only to the specified node at &amp;lt;ip&amp;gt; or &amp;lt;ip:port&amp;gt; (default port: 8333).&lt;br /&gt;
  -nolisten          Don&#039;t accept connections from outside&lt;br /&gt;
  -nodnsseed         Don&#039;t bootstrap list of peers using DNS&lt;br /&gt;
  -banscore=&amp;lt;n&amp;gt;      Threshold for disconnecting misbehaving peers (default: 100)&lt;br /&gt;
  -bantime=&amp;lt;n&amp;gt;       Number of seconds to keep misbehaving peers from reconnecting (default: 86400)&lt;br /&gt;
  -maxreceivebuffer=&amp;lt;n&amp;gt;  Maximum per-connection receive buffer, &amp;lt;n&amp;gt;*1000 bytes (default: 10000)&lt;br /&gt;
  -maxsendbuffer=&amp;lt;n&amp;gt;  Maximum per-connection send buffer, &amp;lt;n&amp;gt;*1000 bytes (default: 10000)&lt;br /&gt;
  -noupnp            Don&#039;t attempt to use UPnP to map the listening port&lt;br /&gt;
  -paytxfee=&amp;lt;amt&amp;gt;    Fee per KB to add to transactions you send&lt;br /&gt;
  -daemon            Run in the background as a daemon and accept commands&lt;br /&gt;
  -testnet           Use the test network&lt;br /&gt;
  -debug             Output extra debugging information&lt;br /&gt;
  -logtimestamps     Prepend debug output with timestamp&lt;br /&gt;
  -printtoconsole    Send trace/debug info to console instead of debug.log file&lt;br /&gt;
  -rpcuser=&amp;lt;user&amp;gt;    Username for JSON-RPC connections&lt;br /&gt;
  -rpcpassword=&amp;lt;pw&amp;gt;  Password for JSON-RPC connections&lt;br /&gt;
  -rpcport=&amp;lt;port&amp;gt;    Listen for JSON-RPC connections on &amp;lt;port&amp;gt; (default: 8332)&lt;br /&gt;
  -rpcallowip=&amp;lt;ip&amp;gt;   Allow JSON-RPC connections from specified IP address&lt;br /&gt;
  -rpcconnect=&amp;lt;ip&amp;gt;   Send commands to node running on &amp;lt;ip&amp;gt; (default: 127.0.0.1)&lt;br /&gt;
  -keypool=&amp;lt;n&amp;gt;       Set key pool size to &amp;lt;n&amp;gt; (default: 100)&lt;br /&gt;
  -rescan            Rescan the block chain for missing wallet transactions&lt;br /&gt;
&lt;br /&gt;
SSL options: (see the Bitcoin Wiki for SSL setup instructions)&lt;br /&gt;
  -rpcssl                                  Use OpenSSL (https) for JSON-RPC connections&lt;br /&gt;
  -rpcsslcertificatechainfile=&amp;lt;file.cert&amp;gt;  Server certificate file (default: server.cert)&lt;br /&gt;
  -rpcsslprivatekeyfile=&amp;lt;file.pem&amp;gt;         Server private key (default: server.pem)&lt;br /&gt;
  -rpcsslciphers=&amp;lt;ciphers&amp;gt;                 Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)&lt;br /&gt;
&lt;br /&gt;
Additional (Supported but not listed in -? help):&lt;br /&gt;
  -checkblocks       Rescan the whole blockchain (can take very much time)&lt;br /&gt;
&lt;br /&gt;
==Bitcoin.conf Configuration File==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
The configuration file is a list of setting=value pairs, one per line, with optional comments starting with the &#039;#&#039; character.&lt;br /&gt;
&lt;br /&gt;
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, Bitcoin (or bitcoind) will look for a file named &#039;bitcoin.conf&#039; in the bitcoin [[data directory]], but both the data directory and the configuration file path may be changed using the -datadir and -conf command-line arguments.&lt;br /&gt;
{|&lt;br /&gt;
! Operating System&lt;br /&gt;
! Default bitcoin datadir&lt;br /&gt;
! Typical path to configuration file&lt;br /&gt;
|-&lt;br /&gt;
| Windows&lt;br /&gt;
| %APPDATA%\Bitcoin\&lt;br /&gt;
| (XP) C:\Documents and Settings\username\Application Data\Bitcoin\bitcoin.conf&lt;br /&gt;
(Vista, 7) C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf&lt;br /&gt;
|-&lt;br /&gt;
| Linux&lt;br /&gt;
| $HOME/.bitcoin/&lt;br /&gt;
| /home/username/.bitcoin/bitcoin.conf&lt;br /&gt;
|-&lt;br /&gt;
| Mac OSX&lt;br /&gt;
| $HOME/Library/Application Support/Bitcoin/&lt;br /&gt;
| /Users/username/Library/Application Support/Bitcoin/bitcoin.conf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: if running Bitcoin in testnet mode, the sub-folder &amp;quot;testnet&amp;quot; will be appended to the data directory automatically.&lt;br /&gt;
&lt;br /&gt;
==Sample Bitcoin.conf==&lt;br /&gt;
Here is a sample bitcoin.conf file.&lt;br /&gt;
&lt;br /&gt;
  # bitcoin.conf configuration file. Lines beginning with # are comments.&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  # Network-related settings:&lt;br /&gt;
  &lt;br /&gt;
  # Run on the test network instead of the real bitcoin network.&lt;br /&gt;
  #testnet=0&lt;br /&gt;
  &lt;br /&gt;
  # Connect via a socks4 proxy&lt;br /&gt;
  #proxy=127.0.0.1:9050&lt;br /&gt;
  &lt;br /&gt;
  ##############################################################&lt;br /&gt;
  ##            Quick Primer on addnode vs connect            ##&lt;br /&gt;
  ##  Let&#039;s say for instance you use addnode=4.2.2.4          ##&lt;br /&gt;
  ##  addnode will connect you to and tell you about the      ##&lt;br /&gt;
  ##    nodes connected to 4.2.2.4.  In addition it will tell ##&lt;br /&gt;
  ##    the other nodes connected to it that you exist so     ##&lt;br /&gt;
  ##    they can connect to you.                              ##&lt;br /&gt;
  ##  connect will not do the above when you &#039;connect&#039; to it. ##&lt;br /&gt;
  ##    It will *only* connect you to 4.2.2.4 and no one else.##&lt;br /&gt;
  ##                                                          ##&lt;br /&gt;
  ##  So if you&#039;re behind a firewall, or have other problems  ##&lt;br /&gt;
  ##  finding nodes, add some using &#039;addnode&#039;.                ##&lt;br /&gt;
  ##                                                          ##&lt;br /&gt;
  ##  If you want to stay private, use &#039;connect&#039; to only      ##&lt;br /&gt;
  ##  connect to &amp;quot;trusted&amp;quot; nodes.                             ##&lt;br /&gt;
  ##                                                          ##&lt;br /&gt;
  ##  If you run multiple nodes on a LAN, there&#039;s no need for ##&lt;br /&gt;
  ##  all of them to open lots of connections.  Instead       ##&lt;br /&gt;
  ##  &#039;connect&#039; them all to one node that is port forwarded   ##&lt;br /&gt;
  ##  and has lots of connections.                            ##&lt;br /&gt;
  ##       Thanks goes to [Noodle] on Freenode.               ##&lt;br /&gt;
  ##############################################################&lt;br /&gt;
  &lt;br /&gt;
  # Use as many addnode= settings as you like to connect to specific peers&lt;br /&gt;
  #addnode=69.164.218.197&lt;br /&gt;
  #addnode=10.0.0.2:8333&lt;br /&gt;
  &lt;br /&gt;
  # ... or use as many connect= settings as you like to connect ONLY&lt;br /&gt;
  # to specific peers:&lt;br /&gt;
  #connect=69.164.218.197&lt;br /&gt;
  #connect=10.0.0.1:8333&lt;br /&gt;
  &lt;br /&gt;
  # Do not use Internet Relay Chat (irc.lfnet.org #bitcoin channel) to&lt;br /&gt;
  # find other peers.&lt;br /&gt;
  #noirc=0&lt;br /&gt;
  &lt;br /&gt;
  # Maximum number of inbound+outbound connections.&lt;br /&gt;
  #maxconnections=&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  # JSON-RPC options (for controlling a running Bitcoin/bitcoind process)&lt;br /&gt;
  &lt;br /&gt;
  # server=1 tells Bitcoin-QT to accept JSON-RPC commands.&lt;br /&gt;
  #server=0&lt;br /&gt;
  &lt;br /&gt;
  # You must set rpcuser and rpcpassword to secure the JSON-RPC api&lt;br /&gt;
  #rpcuser=Ulysseys&lt;br /&gt;
  #rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593&lt;br /&gt;
  &lt;br /&gt;
  # How many seconds bitcoin will wait for a complete RPC HTTP request.&lt;br /&gt;
  # after the HTTP connection is established. &lt;br /&gt;
  #rpctimeout=30&lt;br /&gt;
  &lt;br /&gt;
  # By default, only RPC connections from localhost are allowed.  Specify&lt;br /&gt;
  # as many rpcallowip= settings as you like to allow connections from&lt;br /&gt;
  # other hosts (and you may use * as a wildcard character):&lt;br /&gt;
  #rpcallowip=10.1.1.34&lt;br /&gt;
  #rpcallowip=192.168.1.*&lt;br /&gt;
  &lt;br /&gt;
  # Listen for RPC connections on this TCP port:&lt;br /&gt;
  #rpcport=8332&lt;br /&gt;
  &lt;br /&gt;
  # You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind&lt;br /&gt;
  # running on another host using this option:&lt;br /&gt;
  #rpcconnect=127.0.0.1&lt;br /&gt;
  &lt;br /&gt;
  # Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate&lt;br /&gt;
  # with Bitcoin -server or bitcoind&lt;br /&gt;
  #rpcssl=1&lt;br /&gt;
  &lt;br /&gt;
  # OpenSSL settings used when rpcssl=1&lt;br /&gt;
  #rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH&lt;br /&gt;
  #rpcsslcertificatechainfile=server.cert&lt;br /&gt;
  #rpcsslprivatekeyfile=server.pem&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  # Miscellaneous options&lt;br /&gt;
  &lt;br /&gt;
  # Set gen=1 to attempt to generate bitcoins&lt;br /&gt;
  #gen=0&lt;br /&gt;
  &lt;br /&gt;
  # Use SSE instructions to try to generate bitcoins faster.&lt;br /&gt;
  #4way=1&lt;br /&gt;
  &lt;br /&gt;
  # Pre-generate this many public/private key pairs, so wallet backups will be valid for&lt;br /&gt;
  # both prior transactions and several dozen future transactions.&lt;br /&gt;
  #keypool=100&lt;br /&gt;
  &lt;br /&gt;
  # Pay an optional transaction fee every time you send bitcoins.  Transactions with fees&lt;br /&gt;
  # are more likely than free transactions to be included in generated blocks, so may&lt;br /&gt;
  # be validated sooner.&lt;br /&gt;
  #paytxfee=0.00&lt;br /&gt;
  &lt;br /&gt;
  # Allow direct connections for the &#039;pay via IP address&#039; feature.&lt;br /&gt;
  #allowreceivebyip=1&lt;br /&gt;
    &lt;br /&gt;
  # User interface options&lt;br /&gt;
  &lt;br /&gt;
  # Start Bitcoin minimized&lt;br /&gt;
  #min=1&lt;br /&gt;
  &lt;br /&gt;
  # Minimize to the system tray&lt;br /&gt;
  #minimizetotray=1&lt;br /&gt;
&lt;br /&gt;
==Platforms==&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
====Start automatically====&lt;br /&gt;
To configure the Bitcoin client to start automatically:&lt;br /&gt;
&lt;br /&gt;
You might use the configuration-file, or the GUI-Settings:&lt;br /&gt;
&lt;br /&gt;
Settings -&amp;gt; Options&lt;br /&gt;
&lt;br /&gt;
then mark the checkbox titled:&lt;br /&gt;
 [X] Start Bitcoin on system startup&lt;br /&gt;
&lt;br /&gt;
[[{{ns:file}}:Client_Settings_Options_windows.png]]&lt;br /&gt;
&lt;br /&gt;
====Batch automation====&lt;br /&gt;
To work with batch, you have to start the daemon (bitcoind.exe). The bitcoin.exe run with option &amp;quot;-server&amp;quot; will respond with GUI-messages you are not able to process its answers.&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
[[{{ns:file}}:MacBitcoinStartOnLogin.png]]&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
[[{{ns:file}}:Client_Settings_Options.png]]&lt;br /&gt;
&lt;br /&gt;
[[es:Ejecución de Bitcoin]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Lilmatt</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=File:MacBitcoinStartOnLogin.png&amp;diff=31422</id>
		<title>File:MacBitcoinStartOnLogin.png</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=File:MacBitcoinStartOnLogin.png&amp;diff=31422"/>
		<updated>2012-10-02T16:03:01Z</updated>

		<summary type="html">&lt;p&gt;Lilmatt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Lilmatt</name></author>
	</entry>
</feed>