twisterp2pnetworkbittorrentblockchainipv6microbloggingdhtdecentralizedsocial-networktwister-ipv6twister-coretwisterarmyp2p-networktwister-server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
209 lines
8.4 KiB
209 lines
8.4 KiB
.TH BITCOIND "1" "January 2011" "bitcoind 3.19" |
|
.SH NAME |
|
bitcoind \- peer-to-peer network based anonymous digital currency |
|
.SH SYNOPSIS |
|
bitcoin [options] <command> [params] |
|
.TP |
|
bitcoin [options] help <command> - Get help for a command |
|
.SH DESCRIPTION |
|
This manual page documents the bitcoind program. Bitcoin is a peer-to-peer digital currency. Peer-to-peer (P2P) means that there is no central authority to issue new money or keep track of transactions. Instead, these tasks are managed collectively by the nodes of the network. Advantages: |
|
|
|
Bitcoins can be sent easily through the Internet, without having to trust middlemen. Transactions are designed to be irreversible. Be safe from instability caused by fractional reserve banking and central banks. The limited inflation of the Bitcoin system’s money supply is distributed evenly (by CPU power) throughout the network, not monopolized by banks. |
|
|
|
.SH OPTIONS |
|
.TP |
|
\fB\-conf=\fR<file> |
|
Specify configuration file (default: bitcoin.conf) |
|
.TP |
|
\fB\-gen\fR |
|
Generate coins |
|
.TP |
|
\fB\-gen\fR=\fI0\fR |
|
Don't generate coins |
|
.TP |
|
\fB\-min\fR |
|
Start minimized |
|
.TP |
|
\fB\-datadir=\fR<dir> |
|
Specify data directory |
|
.TP |
|
\fB\-proxy=\fR<ip:port> |
|
Connect through socks4 proxy |
|
.TP |
|
\fB\-addnode=\fR<ip> |
|
Add a node to connect to |
|
.TP |
|
\fB\-connect=\fR<ip> |
|
Connect only to the specified node |
|
.TP |
|
\fB\-paytxfee=\fR<amt> |
|
Fee per KB to add to transactions you send |
|
.TP |
|
\fB\-server\fR |
|
Accept command line and JSON\-RPC commands |
|
.TP |
|
\fB\-daemon\fR |
|
Run in the background as a daemon and accept commands |
|
.TP |
|
\fB\-testnet\fR |
|
Use the test network |
|
.TP |
|
\fB\-rpcuser=\fR<user> |
|
Username for JSON\-RPC connections |
|
.TP |
|
\fB\-rpcpassword=\fR<pw> |
|
Password for JSON\-RPC connections |
|
.TP |
|
\fB\-rpcport=\fR<port> |
|
Listen for JSON\-RPC connections on <port> |
|
.TP |
|
\fB\-rpcallowip=\fR<ip> |
|
Allow JSON\-RPC connections from specified IP address |
|
.TP |
|
\fB\-rpcconnect=\fR<ip> |
|
Send commands to node running on <ip> |
|
.PP |
|
SSL options: (see the Bitcoin Wiki for SSL setup instructions) |
|
.TP |
|
\fB\-rpcssl\fR=\fI1\fR |
|
Use OpenSSL (https) for JSON\-RPC connections |
|
.TP |
|
\fB\-rpcsslcertificatchainfile=\fR<file.cert> |
|
Server certificate file (default: server.cert) |
|
.TP |
|
\fB\-rpcsslprivatekeyfile=\fR<file.pem> |
|
Server private key (default: server.pem) |
|
.TP |
|
\fB\-rpcsslciphers=\fR<ciphers> |
|
Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH) |
|
.TP |
|
\-? |
|
This help message |
|
.SH COMMANDS |
|
.TP |
|
\fBbackupwallet 'destination'\fR |
|
Safely copies *wallet.dat* to 'destination', which can be a directory or a path with filename. |
|
.TP |
|
\fBgetaccount 'bitcoinaddress'\fR |
|
Returns the account associated with the given address. |
|
.TP |
|
\fBsetaccount 'bitcoinaddress' ['account']\fR |
|
Sets the ['account'] associated with the given address. ['account'] may be omitted to remove an address from ['account']. |
|
.TP |
|
\fBgetaccountaddress 'account'\fR |
|
Returns a new bitcoin address for 'account'. |
|
.TP |
|
\fBgetaddressesbyaccount 'account'\fR |
|
Returns the list of addresses associated with the given 'account'. |
|
.TP |
|
\fBgetbalance 'account'\fR |
|
Returns the server's available balance, or the balance for 'account'. |
|
.TP |
|
\fBgetblockcount\fR |
|
Returns the number of blocks in the longest block chain. |
|
.TP |
|
\fBgetblocknumber\fR |
|
Returns the block number of the latest block in the longest block chain. |
|
.TP |
|
\fBgetconnectioncount\fR |
|
Returns the number of connections to other nodes. |
|
.TP |
|
\fBgetdifficulty\fR |
|
Returns the proof-of-work difficulty as a multiple of the minimum difficulty. |
|
.TP |
|
\fBgetgenerate\fR |
|
Returns boolean true if server is trying to generate bitcoins, false otherwise. |
|
.TP |
|
\fBsetgenerate 'generate' ['genproclimit']\fR |
|
Generation is limited to ['genproclimit'] processors, -1 is unlimited. |
|
.TP |
|
\fBgethashespersec\fR |
|
Returns a recent hashes per second performance measurement while generating. |
|
.TP |
|
\fBgetinfo\fR |
|
Returns an object containing server information. |
|
.TP |
|
\fBgetnewaddress 'account'\fR |
|
Returns a new bitcoin address for receiving payments. If 'account' is specified (recommended), it is added to the address book so payments received with the address will be credited to 'account'. |
|
.TP |
|
\fBgetreceivedbyaccount 'account' ['minconf=1']\fR |
|
Returns the total amount received by addresses associated with 'account' in transactions with at least ['minconf'] confirmations. |
|
.TP |
|
\fBgetreceivedbyaddress 'bitcoinaddress' ['minconf=1']\fR |
|
Returns the total amount received by 'bitcoinaddress' in transactions with at least ['minconf'] confirmations. |
|
.TP |
|
\fBgettransaction 'txid'\fR |
|
Returns information about a specific transaction, given hexadecimal transaction ID. |
|
.TP |
|
\fBgetwork 'data'\fR |
|
If 'data' is specified, tries to solve the block and returns true if it was successful. If 'data' is not specified, returns formatted hash 'data' to work on: |
|
|
|
"midstate" : precomputed hash state after hashing the first half of the data. |
|
"data" : block data. |
|
"hash1" : formatted hash buffer for second hash. |
|
"target" : little endian hash target. |
|
.TP |
|
\fBhelp 'command'\fR |
|
List commands, or get help for a command. |
|
.TP |
|
\fBlistaccounts ['minconf=1']\fR |
|
List accounts and their current balances. |
|
*note: requires bitcoin 0.3.20 or later. |
|
.TP |
|
\fBlistreceivedbyaccount ['minconf=1'] ['includeempty=false']\fR |
|
['minconf'] is the minimum number of confirmations before payments are included. ['includeempty'] whether to include addresses that haven't received any payments. Returns an array of objects containing: |
|
|
|
"account" : the account of the receiving address. |
|
"amount" : total amount received by the address. |
|
"confirmations" : number of confirmations of the most recent transaction included. |
|
.TP |
|
\fBlistreceivedbyaddress ['minconf=1'] ['includeempty=false']\fR |
|
['minconf'] is the minimum number of confirmations before payments are included. ['includeempty'] whether to include addresses that haven't received any payments. Returns an array of objects containing: |
|
|
|
"address" : receiving address. |
|
"account" : the account of the receiving address. |
|
"amount" : total amount received by the address. |
|
"confirmations" : number of confirmations of the most recent transaction included. |
|
.TP |
|
\fBlisttransactions 'account' ['count=10']\fR |
|
Returns a list of the last ['count'] transactions for 'account' - for all accounts if 'account' is not specified or is "*". Each entry in the list may contain: |
|
|
|
"category" : will be generate, send, receive, or move. |
|
"amount" : amount of transaction. |
|
"fee" : Fee (if any) paid (only for send transactions). |
|
"confirmations" : number of confirmations (only for generate/send/receive). |
|
"txid" : transaction ID (only for generate/send/receive). |
|
"otheraccount" : account funds were moved to or from (only for move). |
|
"message" : message associated with transaction (only for send). |
|
"to" : message-to associated with transaction (only for send). |
|
|
|
*note: requires bitcoin 0.3.20 or later. |
|
.TP |
|
\fBmove <'fromaccount'> <'toaccount'> <'amount'> ['minconf=1'] ['comment']\fR |
|
Moves funds between accounts. |
|
.TP |
|
\fBsendfrom* <'account'> <'bitcoinaddress'> <'amount'> ['minconf=1'] ['comment'] ['comment-to']\fR |
|
Sends amount from account's balance to 'bitcoinaddress'. This method will fail if there is less than amount bitcoins with ['minconf'] confirmations in the account's balance (unless account is the empty-string-named default account; it behaves like the *sendtoaddress* method). Returns transaction ID on success. |
|
.TP |
|
\fBsendtoaddress 'bitcoinaddress' 'amount' ['comment'] ['comment-to']\fR |
|
Sends amount from the server's available balance to 'bitcoinaddress'. amount is a real and is rounded to the nearest 0.01. Returns transaction id on success. |
|
.TP |
|
\fBstop\fR |
|
Stops the bitcoin server. |
|
.TP |
|
\fBvalidateaddress 'bitcoinaddress'\fR |
|
Checks that 'bitcoinaddress' looks like a proper bitcoin address. Returns an object containing: |
|
|
|
"isvalid" : true or false. |
|
"ismine" : true if the address is in the server's wallet. |
|
"address" : bitcoinaddress. |
|
|
|
*note: ismine and address are only returned if the address is valid. |
|
|
|
.SH "SEE ALSO" |
|
bitcoin.conf(5) |
|
.SH AUTHOR |
|
This manual page was written by Micah Anderson <micah@debian.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation. |
|
|
|
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. |
|
|
|
|