Bitcoin Forum
November 10, 2024, 11:42:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: list of useable command line commands and what they do  (Read 2047 times)
ReapAndSow (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 13, 2013, 06:50:49 AM
Last edit: December 13, 2013, 11:23:17 AM by ReapAndSow
 #1

Does any one have a list of useable commands for bitcoin -qt 8.5-8.6 if there are any new ones? If you do please add a brief description of what the command does. This would be nice for the newbies and also people just learning about the command line. i think that the best way to organize this would be a table.

Thanks,
ReapAndSow

Update: Thank you deepceleron for the link.  If any Commands are missing please tell me.
Command
-?
-conf=(filename)
-pid=(filename)
-gen
-datadir=(dir)
-dbcache=(n)
-timeout=(n)
-proxy=(ip:port)
-socks=(n)
-tor=(ip:port)
-dns
-port=(port)
-maxconnections=(n)
-addnode=(ip)
-connect=(ip)
-seednode=(ip)
-externalip=(ip)
-onlynet=(net)
-discover
-irc
-checkpoints
-listen
-bind=(addr)
-dnsseed
-banscore=(n)
-bantime=(n)
-maxreceivebuffer=(n)
-maxsendbuffer=(n)
-upnp
-paytxfee=(amount)
-server
-testnet
-debug
-debugnet
-logtimestamps
-shrinkdebugfile
-printtoconsole
-printtodebugger
-rpcuser=(user)
-rpcpassword=(password)
-rpcport=(port)
-rpcallowip=(IP)
-rpcthreads=(n)
-rpcconnect=(IP)
-blocknotify=(cmd)
-walletnotify=(cmd)
-alertnotify=(cmd)
-upgradewallet
-keypool=(n)
-rescan
-salvagewallet
-checkblocks=(n)
-checklevel=(n)
-txindex
-loadblock=(filename)
-reindex
-par=(n)
Block Creation Options
-blockminsize=(n)
-blockmaxsize=(n)
-blockprioritysize=(n)
SSL Options
(See the Bitcoin Wiki for SSL setup instructions)
-rpcssl
-rpcsslcertificatechainfile=(file .cert)
-rpcsslprivatekeyfile=(file .pem)
-rpcsslciphers=(ciphers)
User Interface Options
-lang=(lang)
-min=(lang)
-splash=0




Discription
List usage and command-line options
Specify configuration file (default: bitcoin.conf)
Specify process identifier file (default: bitcoind.pid)
Generate coins (obsolete)
Specify data directory
Set database cache size in megabytes (default: 25)
Specify connection timeout in milliseconds (default: 5000)
Connect through socks proxy
Select the version of socks proxy to use (4-5, default: 5)
Use proxy to reach tor hidden services (default: same as -proxy)
Allow DNS lookups for -addnode, -seednode and -connect
Listen for connections on (default: 8333 or testnet: 18333)
Maintain at most (n) connections to peers (default: 125)
Add a node to connect to and attempt to keep the connection open
Connect only to the specified node(s)
Connect to a node to retrieve peer addresses, and disconnect
Specify your own public address
Only connect to nodes in network (net) (IPv4, IPv6 or Tor)
Discover own IP address (default: 1 when listening and no -externalip)
Find peers using internet relay chat (default: 0) (removed in latest versions)
Only accept block chain matching built-in checkpoints (default: 1)
Accept connections from outside (default: 1 if no -proxy or -connect)
Bind to given address and always listen on it. Use [host]:port notation for IPv6
Find peers using DNS lookup (default: 1 unless -connect)
Threshold for disconnecting misbehaving peers (default: 100)
Number of seconds to keep misbehaving peers from reconnecting (default: 86400)
Maximum per-connection receive buffer, (n)*1000 bytes (default: 5000)
Maximum per-connection send buffer, (n)*1000 bytes (default: 1000)
Use UPnP to map the listening port (default: 0)
Fee per KB to add to transactions you send
Accept command line and JSON-RPC commands
Use the test network
Output extra debugging information. Implies all other -debug* options
Output extra netwotrk debugging informaion
Prepend debug output with timestamp
Shrink debug.log file on client startup (default: 1 when no -debug)
Send trace/debug info to console instead of debug.log file
Send trace/debug info to debugger
Username for JSON-RPC connections
Password for JSON-RPC connections
Listen for JSON-RPC connections on (port) (default: 8332 or testnet: 18332)
Allow JSON-RPC connections from specified IP address
Set the number of threads to service RPC calls (default: 4)
Send commands to node running on (IP) (default: 127.0.0.1) (removed)
Execute command when the best block changes (%s in (cmd) is replaced by block hash)
Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
Execute command when a relevant alert is received (%s in cmd is replaced by message)
Upgrade wallet to latest format
Set key pool size to (n) (default: 100)
Rescan the block chain for missing wallet transactions
Attempt to recover private keys from a corrupt wallet.dat
How many blocks to check at startup (default: 288, 0 = all)
How thorough the block verification is (0-4, default: 3)
Maintain a full transaction index (default: 0)
Imports blocks from external blk000??.dat formatted files
Rebuild blockchain index from current blk000??.dat files
Set the number of script verification threads (1-16, 0=auto, default: 0)

Set minimum block size in bytes (default: 0)
Set maximum block size in bytes (default: 250000)
Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)



Use OpenSSL (https) for JSON-RPC connections
Server certificate file (default: server.cert)

Server private key (default: server.pem)

Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)

-lang=(lang)
Start minimized
Disable splash screen on startup (default: 1)




titulng
Sr. Member
****
Offline Offline

Activity: 484
Merit: 250


HubrisOne


View Profile
December 13, 2013, 07:21:43 AM
 #2

i'm so sorry

.
  ◆

 
.
.
.


 
.



▄▄       ▄▄      ▄▄       ▄▄      ▄▄▄▄▄▄▄▄         ▄▄▄▄▄▄▄▄        ▄▄        ▄▄▄▄▄▄▄▄           ▄▄▄            ▄▄       ▄▄      ▄▄▄▄▄▄▄▄▄▄
██       ██      ██       ██      ▀▀▀▀▀▀▀██▄       ▀▀▀▀▀▀▀██▄      ██      ▐██▀▀▀▀▀▀▀       ▄▄██▀▀▀██▄▄        ▀██▄     ██      ▀▀▀▀▀▀▀▀▀▀
▀▀       ██      ██       ██              ██               ██      ██      ██              ██▀       ▀██         ██▄    ██      ▄▄
▄▄▄▄▄▄▄▄▄██      ██       ██      ▄▄▄▄▄▄▄██▀       ▄▄▄▄▄▄▄██▀      ██      ▐██▄▄▄▄        ▐█           █▌      █▄ ▀██   ██      ██▄▄▄▄
██▀▀▀▀▀▀▀██      ██       ██      ██▀▀▀▀▀██        ██▀▀▀▀▀▀        ██        ▀▀▀▀██▄      ▐█           █▌      ██   ██▄ ██      ██▀▀▀▀
██       ██      ██       ██      ██      ██       ██   ▄▄         ██             ▐█▌     ▐█▄         ▄█▌      ██    ▀█▄██      ██
██       ██       ██▄   ▄██       ██     ▄█▀       ██    ▀█▄       ██            ▄██       ▀██▄▄   ▄▄██▀       ██     ▀███      ██
██       ██        ▀▀███▀▀        ████████▀        ██      ▀█      ██      ███████▀           ▀▀███▀▀          ██       ██      ██████████
.

██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████

██████████████████████████████████████████████
.


.
.




▄███████████▄     
██▀       ▐█▀█▄   
██        ▐█  ▀█▄ 
██        ▐█    ▀█▄
██        ▝▀▀▀▀▀▀██
██               ██
██  ███████████  ██
██               ██
██  ██████       ██
██               ██
██▄             ▄██
▀█████████████████▀
WP
.


.
.


.


 
.
.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
December 13, 2013, 07:57:43 AM
Last edit: December 13, 2013, 08:20:55 AM by deepceleron
 #3

http://we.lovebitco.in/bitcoin-qt/command-line-options/

In Bitcoin-Qt, you can also go to help->debug window, and press "show" below where it says "command line options".

recent changes are the options:
-rpcthreads=<n>        Set the number of threads to service RPC calls (default: 4)
-walletnotify=<cmd>    Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
-alertnotify=<cmd>     Execute command when a relevant alert is received (%s in cmd is replaced by message)
mufa23
Legendary
*
Offline Offline

Activity: 1022
Merit: 1001


I'd fight Gandhi.


View Profile
December 13, 2013, 08:10:25 AM
 #4

In Bitcoin-Qt, you can also go to help->debug window, and press "show" below where it says "command line options".
This! In most consoles, this is built it. You can usually type in some sort of code listed below and it will give you a list of commands.

Code:
help
list
info
show
z

Positive rep with: pekv2, AzN1337c0d3r, Vince Torres, underworld07, Chimsley, omegaaf, Bogart, Gleason, SuperTramp, John K. and guitarplinker
Cubic Earth
Legendary
*
Offline Offline

Activity: 1176
Merit: 1020



View Profile
December 16, 2013, 02:24:54 AM
 #5

When I type "help" into the command line of the QT-client, the list of commands is different from the OP.  Where, exactly, would I enter the commands the OP listed?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
December 16, 2013, 12:51:13 PM
 #6

When I type "help" into the command line of the QT-client, the list of commands is different from the OP.  Where, exactly, would I enter the commands the OP listed?
The command-line is the list of options you would start Bitcoin with (or put in the configuration file). You are likely referring to the RPC interface to send instructions to a running Bitcoin, which has commands like "getbalance".
uartasic
Full Member
***
Offline Offline

Activity: 177
Merit: 101


View Profile
December 16, 2013, 01:53:39 PM
 #7

very handy to know..however does anyone here know how to get a priv key dump from the DVC wallet interface?

apparently its in python CLI.

Crypto Vest coin fan \ Alt-Coin Blockchain Assembler \ BTC faithful \ POWR faithful
Cubic Earth
Legendary
*
Offline Offline

Activity: 1176
Merit: 1020



View Profile
December 16, 2013, 10:18:04 PM
 #8

Thanks deepceleron.  I had some trouble getting the client to recognize the bitcoin.conf file, but I'll try again.

Another question: Are instructions entered through the RPC interface retained if the client is shut down, then restarted?  For instance, would a node added through addnode be kept through a restart?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!