<?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=Sgbett</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=Sgbett"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Sgbett"/>
	<updated>2026-05-15T16:04:54Z</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=54288</id>
		<title>Running Bitcoin</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=54288"/>
		<updated>2015-02-09T15:14:18Z</updated>

		<summary type="html">&lt;p&gt;Sgbett: /* Bitcoin.conf Configuration File */ -datadar can now be specified in config file per https://github.com/bitcoin/bitcoin/pull/4510&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;
&lt;br /&gt;
==Linux Quickstart==&lt;br /&gt;
&lt;br /&gt;
The simplest way to start from scratch with the command line client, automatically syncing blockchain and creating a wallet, is to just run this command (without arguments) from the directory containing your bitcoind binary:&lt;br /&gt;
&lt;br /&gt;
  ./bitcoind&lt;br /&gt;
&lt;br /&gt;
To run with the standard GUI interface:&lt;br /&gt;
&lt;br /&gt;
  ./bitcoin-qt&lt;br /&gt;
&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;
  bitcoin-qt [command-line options]                     &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -?                     This help message&lt;br /&gt;
  -conf=&amp;lt;file&amp;gt;           Specify configuration file (default: bitcoin.conf)&lt;br /&gt;
  -datadir=&amp;lt;dir&amp;gt;         Specify data directory&lt;br /&gt;
  -testnet               Use the test network&lt;br /&gt;
  -pid=&amp;lt;file&amp;gt;            Specify pid file (default: bitcoind.pid)&lt;br /&gt;
  -gen                   Generate coins (default: 0)&lt;br /&gt;
  -dbcache=&amp;lt;n&amp;gt;           Set database cache size in megabytes (4 to 4096, default: 100)&lt;br /&gt;
  -timeout=&amp;lt;n&amp;gt;           Specify connection timeout in milliseconds (default: 5000)&lt;br /&gt;
  -proxy=&amp;lt;ip:port&amp;gt;       Connect through SOCKS proxy&lt;br /&gt;
  -socks=&amp;lt;n&amp;gt;             Select SOCKS version for -proxy (4 or 5, default: 5)&lt;br /&gt;
  -onion=&amp;lt;ip:port&amp;gt;       Use separate SOCKS5 proxy to reach peers via Tor hidden services (default: -proxy)&lt;br /&gt;
  -dns                   Allow DNS lookups for -addnode, -seednode 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 and attempt to keep the connection open&lt;br /&gt;
  -connect=&amp;lt;ip&amp;gt;          Connect only to the specified node(s)&lt;br /&gt;
  -seednode=&amp;lt;ip&amp;gt;         Connect to a node to retrieve peer addresses, and disconnect&lt;br /&gt;
  -externalip=&amp;lt;ip&amp;gt;       Specify your own public address&lt;br /&gt;
  -onlynet=&amp;lt;net&amp;gt;         Only connect to nodes in network &amp;lt;net&amp;gt; (IPv4, IPv6 or Tor)&lt;br /&gt;
  -discover              Discover own IP address (default: 1 when listening and no -externalip)&lt;br /&gt;
  -checkpoints           Only accept block chain matching built-in checkpoints (default: 1)&lt;br /&gt;
  -listen                Accept connections from outside (default: 1 if no -proxy or -connect)&lt;br /&gt;
  -bind=&amp;lt;addr&amp;gt;           Bind to given address and always listen on it. Use [host]:port notation for IPv6&lt;br /&gt;
  -dnsseed               Find peers using DNS lookup (default: 1 unless -connect)&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: 5000)&lt;br /&gt;
  -maxsendbuffer=&amp;lt;n&amp;gt;     Maximum per-connection send buffer, &amp;lt;n&amp;gt;*1000 bytes (default: 1000)&lt;br /&gt;
  -upnp                  Use UPnP to map the listening port (default: 1 when listening)&lt;br /&gt;
  -debug=&amp;lt;category&amp;gt;      Output debugging information (default: 0, supplying &amp;lt;category&amp;gt; is optional)&lt;br /&gt;
                         If &amp;lt;category&amp;gt; is not supplied, output all debugging information.&lt;br /&gt;
                         &amp;lt;category&amp;gt; can be: addrman, alert, coindb, db, lock, rand, rpc, selectcoins, mempool, net, qt.&lt;br /&gt;
  -logtimestamps         Prepend debug output with timestamp (default: 1)&lt;br /&gt;
  -shrinkdebugfile       Shrink debug.log file on client startup (default: 1 when no -debug)&lt;br /&gt;
  -printtoconsole        Send trace/debug info to console instead of debug.log file&lt;br /&gt;
  -regtest               Enter regression test mode, which uses a special chain in which blocks can be solved instantly.&lt;br /&gt;
                         This is intended for regression testing tools and app development.&lt;br /&gt;
  -server                Accept command line and JSON-RPC commands&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 or testnet: 18332)&lt;br /&gt;
  -rpcallowip=&amp;lt;ip&amp;gt;       Allow JSON-RPC connections from specified IP address&lt;br /&gt;
  -rpcthreads=&amp;lt;n&amp;gt;        Set the number of threads to service RPC calls (default: 4)&lt;br /&gt;
  -blocknotify=&amp;lt;cmd&amp;gt;     Execute command when the best block changes (all %s in cmd are replaced by block hash)&lt;br /&gt;
  -alertnotify=&amp;lt;cmd&amp;gt;     Execute command when a relevant alert is received or we see a really long fork (all %s in cmd are replaced by message)&lt;br /&gt;
  -keypool=&amp;lt;n&amp;gt;           Set key pool size to &amp;lt;n&amp;gt; (default: 100)&lt;br /&gt;
  -checkblocks=&amp;lt;n&amp;gt;       How many blocks to check at startup (default: 288, 0 = all)&lt;br /&gt;
  -checklevel=&amp;lt;n&amp;gt;        How thorough the block verification is (0-4, default: 3)&lt;br /&gt;
  -txindex               Maintain a full transaction index (default: 0)&lt;br /&gt;
  -loadblock=&amp;lt;file&amp;gt;      Imports blocks from external blk000??.dat file&lt;br /&gt;
  -reindex               Rebuild block chain index from current blk000??.dat files&lt;br /&gt;
  -par=&amp;lt;n&amp;gt;               Set the number of script verification threads (up to 16, 0 = auto, &amp;lt;0 = leave that many cores free, default: 0)&lt;br /&gt;
&lt;br /&gt;
Wallet options:&lt;br /&gt;
  -disablewallet         Do not load the wallet and disable wallet RPC calls&lt;br /&gt;
  -paytxfee=&amp;lt;amt&amp;gt;        Fee per kB to add to transactions you send&lt;br /&gt;
  -rescan                Rescan the block chain for missing wallet transactions&lt;br /&gt;
  -zapwallettxes         Clear list of wallet transactions (diagnostic tool; implies -rescan)&lt;br /&gt;
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat&lt;br /&gt;
  -upgradewallet         Upgrade wallet to latest format&lt;br /&gt;
  -wallet=&amp;lt;file&amp;gt;         Specify wallet file (within data directory)&lt;br /&gt;
  -walletnotify=&amp;lt;cmd&amp;gt;    Execute command when a wallet transaction changes (all %s in cmd are replaced by TxID)&lt;br /&gt;
  -spendzeroconfchange   Spend unconfirmed change when sending transactions (default: 1)&lt;br /&gt;
&lt;br /&gt;
Block creation options:&lt;br /&gt;
  -blockminsize=&amp;lt;n&amp;gt;      Set minimum block size in bytes (default: 0)&lt;br /&gt;
  -blockmaxsize=&amp;lt;n&amp;gt;      Set maximum block size in bytes (default: 750000)&lt;br /&gt;
  -blockprioritysize=&amp;lt;n&amp;gt; Set maximum size of high-priority/low-fee transactions in bytes (default: 50000)&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.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)&lt;br /&gt;
&lt;br /&gt;
UI options:&lt;br /&gt;
  -lang=&amp;lt;lang&amp;gt;           Set language, for example &amp;quot;de_DE&amp;quot; (default: system locale)&lt;br /&gt;
  -min                   Start minimized&lt;br /&gt;
  -splash                Show splash screen on startup (default: 1)&lt;br /&gt;
  -choosedatadir         Choose data directory on startup (default: 0)&lt;br /&gt;
&lt;br /&gt;
Many of the boolean options can also be set to off by specifying them with a &amp;quot;no&amp;quot; prefix: e.g. -nodnseed.&lt;br /&gt;
&lt;br /&gt;
==Bitcoin.conf Configuration File==&lt;br /&gt;
All command-line options (except for -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;
  &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=random_authvalue_DO_NOT_USE_THIS_STRING_OR_YOU_WILL_GET_ROBBED._USE_THE_ONE_BITCOIND_RECOMMENDS_WHEN_RUN_WITHOUT_ONE_SET_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. As of Bitcoin Core 0.10.0, wildcards are no longer allowed.  Use one of the sample forms below.&lt;br /&gt;
  # NOTE: opening up the RPC port to hosts outside your local&lt;br /&gt;
  # trusted network is NOT RECOMMENDED, because the rpcpassword&lt;br /&gt;
  # is transmitted over the network unencrypted.&lt;br /&gt;
  #rpcallowip=10.1.1.34&lt;br /&gt;
  #rpcallowip=192.168.1.0/255.255.255.0&lt;br /&gt;
  #rpcallowip=172.16.0.0/24&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;
  # 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;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Data directory]]&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>Sgbett</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=54287</id>
		<title>Running Bitcoin</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=54287"/>
		<updated>2015-02-09T14:50:01Z</updated>

		<summary type="html">&lt;p&gt;Sgbett: Undo revision 54286 by Sgbett (talk)&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;
&lt;br /&gt;
==Linux Quickstart==&lt;br /&gt;
&lt;br /&gt;
The simplest way to start from scratch with the command line client, automatically syncing blockchain and creating a wallet, is to just run this command (without arguments) from the directory containing your bitcoind binary:&lt;br /&gt;
&lt;br /&gt;
  ./bitcoind&lt;br /&gt;
&lt;br /&gt;
To run with the standard GUI interface:&lt;br /&gt;
&lt;br /&gt;
  ./bitcoin-qt&lt;br /&gt;
&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;
  bitcoin-qt [command-line options]                     &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -?                     This help message&lt;br /&gt;
  -conf=&amp;lt;file&amp;gt;           Specify configuration file (default: bitcoin.conf)&lt;br /&gt;
  -datadir=&amp;lt;dir&amp;gt;         Specify data directory&lt;br /&gt;
  -testnet               Use the test network&lt;br /&gt;
  -pid=&amp;lt;file&amp;gt;            Specify pid file (default: bitcoind.pid)&lt;br /&gt;
  -gen                   Generate coins (default: 0)&lt;br /&gt;
  -dbcache=&amp;lt;n&amp;gt;           Set database cache size in megabytes (4 to 4096, default: 100)&lt;br /&gt;
  -timeout=&amp;lt;n&amp;gt;           Specify connection timeout in milliseconds (default: 5000)&lt;br /&gt;
  -proxy=&amp;lt;ip:port&amp;gt;       Connect through SOCKS proxy&lt;br /&gt;
  -socks=&amp;lt;n&amp;gt;             Select SOCKS version for -proxy (4 or 5, default: 5)&lt;br /&gt;
  -onion=&amp;lt;ip:port&amp;gt;       Use separate SOCKS5 proxy to reach peers via Tor hidden services (default: -proxy)&lt;br /&gt;
  -dns                   Allow DNS lookups for -addnode, -seednode 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 and attempt to keep the connection open&lt;br /&gt;
  -connect=&amp;lt;ip&amp;gt;          Connect only to the specified node(s)&lt;br /&gt;
  -seednode=&amp;lt;ip&amp;gt;         Connect to a node to retrieve peer addresses, and disconnect&lt;br /&gt;
  -externalip=&amp;lt;ip&amp;gt;       Specify your own public address&lt;br /&gt;
  -onlynet=&amp;lt;net&amp;gt;         Only connect to nodes in network &amp;lt;net&amp;gt; (IPv4, IPv6 or Tor)&lt;br /&gt;
  -discover              Discover own IP address (default: 1 when listening and no -externalip)&lt;br /&gt;
  -checkpoints           Only accept block chain matching built-in checkpoints (default: 1)&lt;br /&gt;
  -listen                Accept connections from outside (default: 1 if no -proxy or -connect)&lt;br /&gt;
  -bind=&amp;lt;addr&amp;gt;           Bind to given address and always listen on it. Use [host]:port notation for IPv6&lt;br /&gt;
  -dnsseed               Find peers using DNS lookup (default: 1 unless -connect)&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: 5000)&lt;br /&gt;
  -maxsendbuffer=&amp;lt;n&amp;gt;     Maximum per-connection send buffer, &amp;lt;n&amp;gt;*1000 bytes (default: 1000)&lt;br /&gt;
  -upnp                  Use UPnP to map the listening port (default: 1 when listening)&lt;br /&gt;
  -debug=&amp;lt;category&amp;gt;      Output debugging information (default: 0, supplying &amp;lt;category&amp;gt; is optional)&lt;br /&gt;
                         If &amp;lt;category&amp;gt; is not supplied, output all debugging information.&lt;br /&gt;
                         &amp;lt;category&amp;gt; can be: addrman, alert, coindb, db, lock, rand, rpc, selectcoins, mempool, net, qt.&lt;br /&gt;
  -logtimestamps         Prepend debug output with timestamp (default: 1)&lt;br /&gt;
  -shrinkdebugfile       Shrink debug.log file on client startup (default: 1 when no -debug)&lt;br /&gt;
  -printtoconsole        Send trace/debug info to console instead of debug.log file&lt;br /&gt;
  -regtest               Enter regression test mode, which uses a special chain in which blocks can be solved instantly.&lt;br /&gt;
                         This is intended for regression testing tools and app development.&lt;br /&gt;
  -server                Accept command line and JSON-RPC commands&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 or testnet: 18332)&lt;br /&gt;
  -rpcallowip=&amp;lt;ip&amp;gt;       Allow JSON-RPC connections from specified IP address&lt;br /&gt;
  -rpcthreads=&amp;lt;n&amp;gt;        Set the number of threads to service RPC calls (default: 4)&lt;br /&gt;
  -blocknotify=&amp;lt;cmd&amp;gt;     Execute command when the best block changes (all %s in cmd are replaced by block hash)&lt;br /&gt;
  -alertnotify=&amp;lt;cmd&amp;gt;     Execute command when a relevant alert is received or we see a really long fork (all %s in cmd are replaced by message)&lt;br /&gt;
  -keypool=&amp;lt;n&amp;gt;           Set key pool size to &amp;lt;n&amp;gt; (default: 100)&lt;br /&gt;
  -checkblocks=&amp;lt;n&amp;gt;       How many blocks to check at startup (default: 288, 0 = all)&lt;br /&gt;
  -checklevel=&amp;lt;n&amp;gt;        How thorough the block verification is (0-4, default: 3)&lt;br /&gt;
  -txindex               Maintain a full transaction index (default: 0)&lt;br /&gt;
  -loadblock=&amp;lt;file&amp;gt;      Imports blocks from external blk000??.dat file&lt;br /&gt;
  -reindex               Rebuild block chain index from current blk000??.dat files&lt;br /&gt;
  -par=&amp;lt;n&amp;gt;               Set the number of script verification threads (up to 16, 0 = auto, &amp;lt;0 = leave that many cores free, default: 0)&lt;br /&gt;
&lt;br /&gt;
Wallet options:&lt;br /&gt;
  -disablewallet         Do not load the wallet and disable wallet RPC calls&lt;br /&gt;
  -paytxfee=&amp;lt;amt&amp;gt;        Fee per kB to add to transactions you send&lt;br /&gt;
  -rescan                Rescan the block chain for missing wallet transactions&lt;br /&gt;
  -zapwallettxes         Clear list of wallet transactions (diagnostic tool; implies -rescan)&lt;br /&gt;
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat&lt;br /&gt;
  -upgradewallet         Upgrade wallet to latest format&lt;br /&gt;
  -wallet=&amp;lt;file&amp;gt;         Specify wallet file (within data directory)&lt;br /&gt;
  -walletnotify=&amp;lt;cmd&amp;gt;    Execute command when a wallet transaction changes (all %s in cmd are replaced by TxID)&lt;br /&gt;
  -spendzeroconfchange   Spend unconfirmed change when sending transactions (default: 1)&lt;br /&gt;
&lt;br /&gt;
Block creation options:&lt;br /&gt;
  -blockminsize=&amp;lt;n&amp;gt;      Set minimum block size in bytes (default: 0)&lt;br /&gt;
  -blockmaxsize=&amp;lt;n&amp;gt;      Set maximum block size in bytes (default: 750000)&lt;br /&gt;
  -blockprioritysize=&amp;lt;n&amp;gt; Set maximum size of high-priority/low-fee transactions in bytes (default: 50000)&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.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)&lt;br /&gt;
&lt;br /&gt;
UI options:&lt;br /&gt;
  -lang=&amp;lt;lang&amp;gt;           Set language, for example &amp;quot;de_DE&amp;quot; (default: system locale)&lt;br /&gt;
  -min                   Start minimized&lt;br /&gt;
  -splash                Show splash screen on startup (default: 1)&lt;br /&gt;
  -choosedatadir         Choose data directory on startup (default: 0)&lt;br /&gt;
&lt;br /&gt;
Many of the boolean options can also be set to off by specifying them with a &amp;quot;no&amp;quot; prefix: e.g. -nodnseed.&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;
  &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=random_authvalue_DO_NOT_USE_THIS_STRING_OR_YOU_WILL_GET_ROBBED._USE_THE_ONE_BITCOIND_RECOMMENDS_WHEN_RUN_WITHOUT_ONE_SET_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. As of Bitcoin Core 0.10.0, wildcards are no longer allowed.  Use one of the sample forms below.&lt;br /&gt;
  # NOTE: opening up the RPC port to hosts outside your local&lt;br /&gt;
  # trusted network is NOT RECOMMENDED, because the rpcpassword&lt;br /&gt;
  # is transmitted over the network unencrypted.&lt;br /&gt;
  #rpcallowip=10.1.1.34&lt;br /&gt;
  #rpcallowip=192.168.1.0/255.255.255.0&lt;br /&gt;
  #rpcallowip=172.16.0.0/24&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;
  # 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;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Data directory]]&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>Sgbett</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=54286</id>
		<title>Running Bitcoin</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&amp;diff=54286"/>
		<updated>2015-02-09T14:45:14Z</updated>

		<summary type="html">&lt;p&gt;Sgbett: /* Bitcoin.conf Configuration File */  -edit can be specified in conf file&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;
&lt;br /&gt;
==Linux Quickstart==&lt;br /&gt;
&lt;br /&gt;
The simplest way to start from scratch with the command line client, automatically syncing blockchain and creating a wallet, is to just run this command (without arguments) from the directory containing your bitcoind binary:&lt;br /&gt;
&lt;br /&gt;
  ./bitcoind&lt;br /&gt;
&lt;br /&gt;
To run with the standard GUI interface:&lt;br /&gt;
&lt;br /&gt;
  ./bitcoin-qt&lt;br /&gt;
&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;
  bitcoin-qt [command-line options]                     &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -?                     This help message&lt;br /&gt;
  -conf=&amp;lt;file&amp;gt;           Specify configuration file (default: bitcoin.conf)&lt;br /&gt;
  -datadir=&amp;lt;dir&amp;gt;         Specify data directory&lt;br /&gt;
  -testnet               Use the test network&lt;br /&gt;
  -pid=&amp;lt;file&amp;gt;            Specify pid file (default: bitcoind.pid)&lt;br /&gt;
  -gen                   Generate coins (default: 0)&lt;br /&gt;
  -dbcache=&amp;lt;n&amp;gt;           Set database cache size in megabytes (4 to 4096, default: 100)&lt;br /&gt;
  -timeout=&amp;lt;n&amp;gt;           Specify connection timeout in milliseconds (default: 5000)&lt;br /&gt;
  -proxy=&amp;lt;ip:port&amp;gt;       Connect through SOCKS proxy&lt;br /&gt;
  -socks=&amp;lt;n&amp;gt;             Select SOCKS version for -proxy (4 or 5, default: 5)&lt;br /&gt;
  -onion=&amp;lt;ip:port&amp;gt;       Use separate SOCKS5 proxy to reach peers via Tor hidden services (default: -proxy)&lt;br /&gt;
  -dns                   Allow DNS lookups for -addnode, -seednode 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 and attempt to keep the connection open&lt;br /&gt;
  -connect=&amp;lt;ip&amp;gt;          Connect only to the specified node(s)&lt;br /&gt;
  -seednode=&amp;lt;ip&amp;gt;         Connect to a node to retrieve peer addresses, and disconnect&lt;br /&gt;
  -externalip=&amp;lt;ip&amp;gt;       Specify your own public address&lt;br /&gt;
  -onlynet=&amp;lt;net&amp;gt;         Only connect to nodes in network &amp;lt;net&amp;gt; (IPv4, IPv6 or Tor)&lt;br /&gt;
  -discover              Discover own IP address (default: 1 when listening and no -externalip)&lt;br /&gt;
  -checkpoints           Only accept block chain matching built-in checkpoints (default: 1)&lt;br /&gt;
  -listen                Accept connections from outside (default: 1 if no -proxy or -connect)&lt;br /&gt;
  -bind=&amp;lt;addr&amp;gt;           Bind to given address and always listen on it. Use [host]:port notation for IPv6&lt;br /&gt;
  -dnsseed               Find peers using DNS lookup (default: 1 unless -connect)&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: 5000)&lt;br /&gt;
  -maxsendbuffer=&amp;lt;n&amp;gt;     Maximum per-connection send buffer, &amp;lt;n&amp;gt;*1000 bytes (default: 1000)&lt;br /&gt;
  -upnp                  Use UPnP to map the listening port (default: 1 when listening)&lt;br /&gt;
  -debug=&amp;lt;category&amp;gt;      Output debugging information (default: 0, supplying &amp;lt;category&amp;gt; is optional)&lt;br /&gt;
                         If &amp;lt;category&amp;gt; is not supplied, output all debugging information.&lt;br /&gt;
                         &amp;lt;category&amp;gt; can be: addrman, alert, coindb, db, lock, rand, rpc, selectcoins, mempool, net, qt.&lt;br /&gt;
  -logtimestamps         Prepend debug output with timestamp (default: 1)&lt;br /&gt;
  -shrinkdebugfile       Shrink debug.log file on client startup (default: 1 when no -debug)&lt;br /&gt;
  -printtoconsole        Send trace/debug info to console instead of debug.log file&lt;br /&gt;
  -regtest               Enter regression test mode, which uses a special chain in which blocks can be solved instantly.&lt;br /&gt;
                         This is intended for regression testing tools and app development.&lt;br /&gt;
  -server                Accept command line and JSON-RPC commands&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 or testnet: 18332)&lt;br /&gt;
  -rpcallowip=&amp;lt;ip&amp;gt;       Allow JSON-RPC connections from specified IP address&lt;br /&gt;
  -rpcthreads=&amp;lt;n&amp;gt;        Set the number of threads to service RPC calls (default: 4)&lt;br /&gt;
  -blocknotify=&amp;lt;cmd&amp;gt;     Execute command when the best block changes (all %s in cmd are replaced by block hash)&lt;br /&gt;
  -alertnotify=&amp;lt;cmd&amp;gt;     Execute command when a relevant alert is received or we see a really long fork (all %s in cmd are replaced by message)&lt;br /&gt;
  -keypool=&amp;lt;n&amp;gt;           Set key pool size to &amp;lt;n&amp;gt; (default: 100)&lt;br /&gt;
  -checkblocks=&amp;lt;n&amp;gt;       How many blocks to check at startup (default: 288, 0 = all)&lt;br /&gt;
  -checklevel=&amp;lt;n&amp;gt;        How thorough the block verification is (0-4, default: 3)&lt;br /&gt;
  -txindex               Maintain a full transaction index (default: 0)&lt;br /&gt;
  -loadblock=&amp;lt;file&amp;gt;      Imports blocks from external blk000??.dat file&lt;br /&gt;
  -reindex               Rebuild block chain index from current blk000??.dat files&lt;br /&gt;
  -par=&amp;lt;n&amp;gt;               Set the number of script verification threads (up to 16, 0 = auto, &amp;lt;0 = leave that many cores free, default: 0)&lt;br /&gt;
&lt;br /&gt;
Wallet options:&lt;br /&gt;
  -disablewallet         Do not load the wallet and disable wallet RPC calls&lt;br /&gt;
  -paytxfee=&amp;lt;amt&amp;gt;        Fee per kB to add to transactions you send&lt;br /&gt;
  -rescan                Rescan the block chain for missing wallet transactions&lt;br /&gt;
  -zapwallettxes         Clear list of wallet transactions (diagnostic tool; implies -rescan)&lt;br /&gt;
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat&lt;br /&gt;
  -upgradewallet         Upgrade wallet to latest format&lt;br /&gt;
  -wallet=&amp;lt;file&amp;gt;         Specify wallet file (within data directory)&lt;br /&gt;
  -walletnotify=&amp;lt;cmd&amp;gt;    Execute command when a wallet transaction changes (all %s in cmd are replaced by TxID)&lt;br /&gt;
  -spendzeroconfchange   Spend unconfirmed change when sending transactions (default: 1)&lt;br /&gt;
&lt;br /&gt;
Block creation options:&lt;br /&gt;
  -blockminsize=&amp;lt;n&amp;gt;      Set minimum block size in bytes (default: 0)&lt;br /&gt;
  -blockmaxsize=&amp;lt;n&amp;gt;      Set maximum block size in bytes (default: 750000)&lt;br /&gt;
  -blockprioritysize=&amp;lt;n&amp;gt; Set maximum size of high-priority/low-fee transactions in bytes (default: 50000)&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.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)&lt;br /&gt;
&lt;br /&gt;
UI options:&lt;br /&gt;
  -lang=&amp;lt;lang&amp;gt;           Set language, for example &amp;quot;de_DE&amp;quot; (default: system locale)&lt;br /&gt;
  -min                   Start minimized&lt;br /&gt;
  -splash                Show splash screen on startup (default: 1)&lt;br /&gt;
  -choosedatadir         Choose data directory on startup (default: 0)&lt;br /&gt;
&lt;br /&gt;
Many of the boolean options can also be set to off by specifying them with a &amp;quot;no&amp;quot; prefix: e.g. -nodnseed.&lt;br /&gt;
&lt;br /&gt;
==Bitcoin.conf Configuration File==&lt;br /&gt;
All command-line options (except for -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;
  &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=random_authvalue_DO_NOT_USE_THIS_STRING_OR_YOU_WILL_GET_ROBBED._USE_THE_ONE_BITCOIND_RECOMMENDS_WHEN_RUN_WITHOUT_ONE_SET_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. As of Bitcoin Core 0.10.0, wildcards are no longer allowed.  Use one of the sample forms below.&lt;br /&gt;
  # NOTE: opening up the RPC port to hosts outside your local&lt;br /&gt;
  # trusted network is NOT RECOMMENDED, because the rpcpassword&lt;br /&gt;
  # is transmitted over the network unencrypted.&lt;br /&gt;
  #rpcallowip=10.1.1.34&lt;br /&gt;
  #rpcallowip=192.168.1.0/255.255.255.0&lt;br /&gt;
  #rpcallowip=172.16.0.0/24&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;
  # 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;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Data directory]]&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>Sgbett</name></author>
	</entry>
</feed>