Bitcoin/bitcoind

From Omnia
(Redirected from Bitcoind)
Jump to navigation Jump to search

bitcoind

Download Bitcoin Client:

Full Client: "Do you have a computer that you keep switched on all the time, that's connected to the Internet? You can help the community by simply running the full Bitcoin client on it. The full client is more resource intensive and will take a complete day to synchronize. After that your computer will contribute to the network by checking and relaying transactions." [1]

Linux

Linux Client

Users Guide:

Installation:

wget https://bitcoin.org/bin/0.9.2.1/bitcoin-0.9.2.1-linux.tar.gz
tar -zvxf bitcoin-0.9.2.1-linux.tar.gz
cd bitcoin-0.9.2.1-linux/bin/64
./bitcoind

Source Installation:

# sample from CentOS 6 - missing DB 4.8
yum install gcc make gcc-c++ autoconf automake libtool db4-devel
git clone https://github.com/bitcoin/bitcoin
cd bitcoin
./autogen.sh
./configure   # NEED DB 4.8
make
# sample from RaspberryPi
# sudo apt-get install [from cgminer files??]
# sudo apt-get install libdb4.8-dev
# package not found

Linux Initialize

$ ./bitcoind
Error: To use the "-server" option, you must set a rpcpassword in the configuration file:
/home/kenneth/.bitcoin/bitcoin.conf
It is recommended you use the following random password:
rpcuser=bitcoinrpc
rpcpassword=8zmDjpCP13wcRYaZYkgJfeREKGFfzxAG9ry59ZiRNKmT
(you do not need to remember this password)
The username and password MUST NOT be the same.
If the file does not exist, create it with owner-readable-only file permissions.
It is also recommended to set alertnotify so you are notified of problems;
for example: alertnotify=echo %s | mail -s "Bitcoin Alert" admin@foo.com

Initialize bitcoin.conf and set as server/daemon:

$ cat > /home/kenneth/.bitcoin/bitcoin.conf << EOF
server=1
daemon=1
listen=1
rpcuser=bitcoinrpc
rpcpassword=8zmDjpCP13wcRYaZYkgJfeREKGFfzxAG9ry59ZiRNKmT
EOF

Windows

Windows Client

Download:

Windows Initialize

C:\>bitcoind
Error: To use bitcoind, you must set a rpcpassword in the configuration file:
C:\Users\kenneth\AppData\Roaming\Bitcoin\bitcoin.conf
It is recommended you use the following random password:
rpcuser=bitcoinrpc
rpcpassword=nLgJ84aqoDVX1e5xCGEAUGiLaMV9Zg7PQRwxsaoV1H8
(you do not need to remember this password)
The username and password MUST NOT be the same.
If the file does not exist, create it with owner-readable-only file permissions.

It is also recommended to set alertnotify so you are notified of problems;
for example: alertnotify=echo %s | mail -s "Bitcoin Alert" admin@foo.com
echo rpcuser=bitcoinrpc  > C:\Users\kenneth\AppData\Roaming\Bitcoin\bitcoin.conf
echo rpcpassword=nLgJ84aqoDVX1e5xCGEAUGiLaMV9Zg7PQRwxsaoV1H8  >> C:\Users\kenneth\AppData\Roaming\Bitcoin\bitcoin.conf
echo # JSON-RPC options (for controlling a running Bitcoin/bitcoind process)  >> C:\Users\kenneth\AppData\Roaming\Bitcoin\bitcoin.conf
echo # server=1 tells Bitcoin-QT to accept JSON-RPC commands.  >> C:\Users\kenneth\AppData\Roaming\Bitcoin\bitcoin.conf
echo server=1  >> C:\Users\kenneth\AppData\Roaming\Bitcoin\bitcoin.conf

Windows Service

json rpc - How to open bitcoind -daemon using command line in Windows? - Bitcoin Stack Exchange - http://bitcoin.stackexchange.com/questions/11728/how-to-open-bitcoind-daemon-using-command-line-in-windows

"As far as i know, you are running the bitcoind client as it should be
run. You need to explicitly say that you want your bitcoind to be run
as a daemon. try changing your server=1 configuration lines to this
(your comment may have inadvertently messed with bitcoin... but i don't
know that for any fact, just a hypothesis) here's your example modified

# JSON-RPC options (for controlling a running Bitcoin/bitcoind process)

# server=1 tells Bitcoin-QT to accept JSON-RPC commands.

server=1

Also, when in doubt run bitcoind in one cmd window and bring up a
second one. Recurse in to the directory containing bitcoind (inside
that second cmd window). Then try to run a simple command (try bitcoind
getblockcount) if you get a result then you know bitcoind is working,
but it is not starting as a background service.

If you are using the bitcoin-qt client, don't edit anything in the config
file. Configure the Bitcoin client to start automatically.

" GUI-Settings: Settings -> Options then mark the checkbox
titled: [X] Start Bitcoin on system startup " Source:
https://en.bitcoin.it/wiki/Running_Bitcoin

Also, if your reason for using bitcoind over bitcoin-qt is due to the
ability to pass text commands to bitcoin: the console is accessible from
the Help menu (Help->Debug->console)

I am not going to claim i know everything, and im sure some of this is
not perfect information, but i will update it and gladly work through
issues with anyone i can help. Just be kind ;)"

Control Server

Start server: (does not run in background on windows!)

bitcoind
bitcoind -daemon  # or daemon=1 in bitcoin.conf

Stop server:

bitcoind stop

stop

bitcoind stop
Stop Bitcoin server.
# bitcoind stop
Bitcoin server stopping

Note: Works only for addresses in the local wallet, external addresses will always show 0.00000000.

Money

getbalance

bitcoind getbalance [account] [minconf=1]
If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account.
# bitcoind getbalance
0.00000000

Note: Works only for addresses in the local wallet, external addresses will always show 0.00000000.

Help

help

bitcoind help [command]
List all commands, or get help for a specified command.
# bitcoind help getbalance
getbalance ( "account" minconf )

If account is not specified, returns the server's total available balance.
...

Information

getinfo

bitcoind getinfo
Returns an object containing various state info
# bitcoind getinfo
{
    "version" : 90201,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.03300000,
    "blocks" : 98839,
    "timeoffset" : 2,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 14484.16236123,
    "testnet" : false,
    "keypoololdest" : 1407866440,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}

getblockcount

bitcoind getblockcount
Returns the number of blocks in the longest block chain.
  • That the daemon currently knows of, good way to determine update progress when compared to actual value online
# bitcoind getblockcount
261973

getdifficulty

bitcoind getdifficulty
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
# bitcoind getdifficulty
2036671.08869332
# bitcoind getdifficulty
148819199.80509263

getnetworkhashps

bitcoind getnetworkhashps
Returns the estimated network hashes per second based on the last n blocks
# bitcoind getnetworkhashps
9844855607448

getwalletinfo

bitcoind getdifficulty
Returns an object containing various wallet state info.
# bitcoind getwalletinfo
{
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "txcount" : 0,
    "keypoololdest" : 1407866440,
    "keypoolsize" : 101
}

Accounts and Addresses

Note: "addresses" are public and can be shared. "accounts" are virtual, and only have meaning within this wallet.

list all addresses

# for account in $( bitcoind listaccounts | grep -v "{\|}" | awk '{print $1}' | sed 's/"//g'  ) ; do echo $account ; bitcoind getaddressesbyaccount "$account" ; done
# bitcoind getaddressesbyaccount ""

getaccount

bitcoind getaccount <bitcoinaddress>
Returns the account associated with the given address.
# bitcoind getaccount 1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d
kenneth

getaccountaddress

bitcoind getaccountaddress <account>
Returns the current Bitcoin address for receiving payments to this account.
# bitcoind getaccountaddress kenneth
1NS1xboUZDkzZvPb4ZSKXc32dQPRHRLagp

Note: only returns latest if multiple, use getaddressbyaccount instead (kind of useless if you ask me!)

getaddressesbyaccount

bitcoind getaddressesbyaccount <account>
Returns the list of addresses for the given account.
# bitcoind getaddressesbyaccount kenneth
[
    "1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d",
    "1NS1xboUZDkzZvPb4ZSKXc32dQPRHRLagp"
]

# bitcoind getaddressesbyaccount ""  # empty string required for default account
[
    "1BnH7HUrSvyuSC6ojn7pZm9wW5xDposBUz",
    "1gJKBeUD2wKpMVJguMW9L5U44f3XyKVHT"
]

getnewaddress

bitcoind getnewaddress [account]
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].
# bitcoind getnewaddress kenneth
1NS1xboUZDkzZvPb4ZSKXc32dQPRHRLagp
# bitcoind getnewaddress
1BnH7HUrSvyuSC6ojn7pZm9wW5xDposBUz

getreceivedbyaccount

bitcoind getreceivedbyaccount <account> [minconf=1]
Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations.
  • Show balance per account
# bitcoind getreceivedbyaccount ""
0.00000000
# bitcoind getreceivedbyaccount kenneth
0.03300000

getreceivedbyaddress

bitcoind getreceivedbyaddress <bitcoinaddress> [minconf=1]
Returns the total amount received by <bitcoinaddress> in transactions with at least [minconf] confirmations.
  • Show balance per address
# bitcoind getreceivedbyaddress 1P7dszCUVuugLLfPx3zL45f4oFGhGmeJTP
0.00000000
# bitcoind getreceivedbyaddress 1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d
0.03300000

listaccounts

bitcoind listaccounts [minconf=1]
Returns Object that has account names as keys, account balances as values.
  • Show accounts and balances
# bitcoind listaccounts
{
    "" : 0.00000000,
    "kenneth" : 0.03300000
}

listreceivedbyaccount

bitcoind listreceivedbyaccount [minconf=1] [includeempty=false]
[minconf] is the minimum number of confirmations before payments are included. [includeempty] whether to include accounts that haven't received any payments. Returns an array of objects containing: "account" : the account of the receiving addresses, "amount" : total amount received by addresses with this account, "confirmations" : number of confirmations of the most recent transaction included.
# bitcoind listreceivedbyaccount
[
    {
        "account" : "kenneth",
        "amount" : 0.03300000,
        "confirmations" : 64
    }
]

listreceivedbyaddress

bitcoind listreceivedbyaddress [minconf=1] [includeempty=false]
[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.
# bitcoind listreceivedbyaddress
[
    {
        "address" : "1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d",
        "account" : "kenneth",
        "amount" : 0.03300000,
        "confirmations" : 64
    }
]

setaccount

bitcoind setaccount <bitcoinaddress> <account>
Sets the account associated with the given address.
# bitcoind setaccount 1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d bank

validateaddress

bitcoind validateaddress <bitcoinaddress>
Return information about the given bitcoin address.
# bitcoind validateaddress 1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d
{
    "isvalid" : true,
    "address" : "1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d",
    "ismine" : true,
    "isscript" : false,
    "pubkey" : "02e5f9a847d033ee0c4bca0a1347ab06a010fa9c0a967c80734ea1decc4e30347a",
    "iscompressed" : true,
    "account" : "bank"
}

Money

listunspent

bitcoind listunspent [minconf=1] [maxconf=9999999] ["address",...]
Returns array of unspent transaction outputs with between minconf and maxconf (inclusive) confirmations. Optionally filtered to only include txouts paid to specified addresses. Results are an array of Objects, each of which has: {txid, vout, scriptPubKey, amount, confirmations}
# bitcoind listunspent
[
    {
        "txid" : "66e1175b5cc1724535eb49b1883169ba5d63c4b2f3175eb51627f60b7c81bed3",
        "vout" : 0,
        "address" : "1FvSh9eCk9LUdNFVV19tr6P22G44kBXD2d",
        "account" : "bank",
        "scriptPubKey" : "76a914a3ad40f4db92fedb5ade03124e0d7285ffe7902388ac",
        "amount" : 0.03300000,
        "confirmations" : 66
    }
]

move

bitcoind move <fromaccount> <toaccount> <amount> [minconf=1] [comment]
Move from one account in your wallet to another.
# bitcoind move kenneth bank 0.0001
true

Note: this is a virtual move within this wallet only, and does not affect the public ledger.

settxfee

bitcoind settxfee <amount>
Set the transaction fee per kB. The transaction fee in BTC/kB rounded to the nearest 0.00000001
  • Increase the transaction fee, if you wish (will make validation faster)
  • Check current with 'bitcoind getinfo' as 'paytxfee'
# bitcoind settxfee 0
true
# bitcoind settxfee 0.00001
true

Send Money

sendtoaddress

sendtoaddress <bitcoinaddress> <amount> [comment] [comment-to]
Sent an amount to a given address. The amount is a real and is rounded to the nearest 0.00000001
# bitcoind sendtoaddress 1HdcTEjkWN416GiMtqHFDWohGfU6yWTn2N .001
ae732cb48ef8e53564527500ffd29987ae8f8f8185e9247f5f6fb3ac56146e57

Note: [comment] and [comment-to] are just a comment used to store what the transaction is for. This is not part of the transaction, just kept in your wallet.

Transactions

listtransactions

bitcoind listtransactions [account] [count=10] [from=0]
Returns up to [count] most recent transactions skipping the first [from] transactions for account [account].
  • shows: move, receive and send
$ ./bitcoind listtransactions
[
    {
        "account" : "test",
        "address" : "1Ja2fBdTEE9SaeZi5VNRzzQK4Ev2aZhvar",
        "category" : "receive",
        "amount" : 0.50000100,
        "confirmations" : 223,
        "blockhash" : "000000000000000000e11e957b13b7d164a953f6ec285785a2de91408b64e410",
        "blockindex" : 416,
        "blocktime" : 1410379878,
        "txid" : "f576e1414915ef31b809c4bd78a12d42bdaf1d0b5d846fb8525dd9a47c3d9c56",
        "walletconflicts" : [
        ],
        "time" : 1410379878,
        "timereceived" : 1410488033
    }
...

Mining:

[
    {
        "account" : "",
        "address" : "15MQCUKU1Wrg8yoLKD7fEzBx7Qz1na4xTh",
        "category" : "immature",
        "amount" : 128.00000000,
        "confirmations" : 3,
        "generated" : true,
        "blockhash" : "0000000000081bb78866222527d8e49ddf01c6d6bb861f7bef8da31d7225bf7f",
        "blockindex" : 0,
        "blocktime" : 1407881738,
        "txid" : "924b030b7710826da0c7b082cdbe0bf57bb1069315c58d4eec39f06798ee7d65",
        "time" : 1407881738,
        "timereceived" : 1407881740
    }
]

Mining: shows how many 'immature' blocks are awaiting confirmation critical mass.

Backup

backupwallet

bitcoind backupwallet <destination>
Safely copies wallet.dat to destination, which can be a directory or a path with filename.
# bitcoind backupwallet ~/wallet.backup
  • How do I restore? Copy the wallet.backup to .bitcoin/wallet.dat

Data directory - Bitcoin https://en.bitcoin.it/wiki/Data_directory

These will be md5sum identical:

~/.bitcoin/wallet.dat
bitcoind backupwallet ~/backup-wallet.dat

dumpwallet

bitcoind dumpwallet <filename>
Dumps all wallet keys in a human-readable format.
# bitcoind dumpwallet wallet.txt

Restore with the [#importwallet] command

importwallet

bitcoind importwallet <filename>
Imports keys from a wallet dump file (see dumpwallet).
# bitcoind importwallet wallet.txt

Sync Status

Get Sync Status: [2] [3]

#!/bin/bash
# bitcoin-sync-status
BITCOIN_SYNC_CURRENT=`bitcoind getblockcount`
BITCOIN_SYNC_TOTAL=`curl http://blockexplorer.com/q/getblockcount 2>/dev/null`
BITCOIN_SYNC_PERCENT=$(( BITCOIN_SYNC_CURRENT * 100 / BITCOIN_SYNC_TOTAL ))
echo "Sync status: ${BITCOIN_SYNC_PERCENT}% (${BITCOIN_SYNC_CURRENT}/${BITCOIN_SYNC_TOTAL})"
alias bitcoindSynced='
bitcoindSynced() {
blockCount=`bitcoind getblockcount`
blockChain=`wget -O - http://blockchain.info/q/getblockcount`
blockDiff=`expr $blockChain - $blockCount`
if [ $blockDiff = 0 ]
then
    echo "up to date"
else
    echo "$blockDiff blocks behind"
fi
}
bitcoindSynced 2>/dev/null'
echo `bitcoind getblockcount 2>&1`/`wget -O - http://blockchain.info/q/getblockcount 2>/dev/null`

---

Seconds behind: [4]

#!/bin/bash
cnt=`bitcoin-cli getblockcount`
hash=`bitcoin-cli getblockhash ${cnt}`
timeline=`bitcoin-cli getblock $hash | grep '"time"'`
ltrimtime=${timeline#*time\" : }
newest=${ltrimtime%%,*}
echo $((`date +%s`-$newest))
echo $(((`date +%s`-$newest)/60))  # minutes
echo $(((`date +%s`-$newest)/3600))  # hours

Bitcoin Network

ping

bitcoind ping
Requests that a ping be sent to all other nodes, to measure ping time. Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds. Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.
# bitcoind ping

See #getpeerinfo

getpeerinfo

bitcoind getpeerinfo
Returns data about each connected network node as a json array of objects.
# bitcoind getpeerinfo
[
    {
        "addr" : "94.193.157.211:8333",
        "addrlocal" : "63.158.132.10:8333",
        "services" : "00000001",
        "lastsend" : 1410478103,
        "lastrecv" : 1410478104,
        "bytessent" : 172289,
        "bytesrecv" : 3622622,
        "conntime" : 1410467876,
        "pingtime" : 0.40114400,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.6/",
        "inbound" : false,
        "startingheight" : 320214,
        "banscore" : 0,
        "syncnode" : true
    },
    {
        "addr" : "100.2.115.36:8333",
        "services" : "00000001",
        "lastsend" : 1410478103,
        "lastrecv" : 1410478103,
        "bytessent" : 273193,
        "bytesrecv" : 87722355,
        "conntime" : 1410467909,
        "pingtime" : 197.81944700,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.6/",
        "inbound" : false,
        "startingheight" : 320214,
        "banscore" : 0,
        "syncnode" : false
    },
...
]

getconnectioncount

bitcoind getconnectioncount
Returns the number of connections to other nodes.
# bitcoind getconnectioncount
8

Note: have not figured out how to increase this count. The -maxconnections does not appear to help.

addnode

bitcoind addnode <node> <add/remove/tryonce>
Attempts add or remove a node from the addnode list.
# bitcoind addnode 192.168.0.6:8333 add
# bitcoind addnode 10.50.3.88 remove

To see added nodes, see "getaddednodeinfo".

Can also add nodes in the bitcoin.conf:

addnode=[NODE[:PORT]]


getaddednodeinfo

bitcoind getaddednodeinfo <dns> [node]
Returns information about the given added node, or all added nodes

See information about nodes added using the 'addnode' command.

# bitcoind getaddednodeinfo true
[
    {
        "addednode" : "10.50.3.88",
        "connected" : true,
        "addresses" : [
            {
                "address" : "10.50.3.88:8333",
                "connected" : "outbound"
            }
        ]
    }
]

getnettotals

bitcoind getnettotals
Returns information about network traffic, including bytes in, bytes out, and current time.

Results: Total bytes received, Total bytes sent, Total cpu time

# bitcoind getnettotals
{
    "totalbytesrecv" : 341178654,
    "totalbytessent" : 165288089,
    "timemillis" : 1410468380063
}

getnetworkinfo

bitcoind getnetworkinfo
Returns an object containing various state info regarding P2P networking.
# bitcoind getnetworkinfo
{
    "version" : 90201,
    "protocolversion" : 70002,
    "timeoffset" : -1,
    "connections" : 8,
    "proxy" : "",
    "relayfee" : 0.00001000,
    "localaddresses" : [
        {
            "address" : "63.10.111.10",
            "port" : 8333,
            "score" : 4
        }
    ]
}

Mining

getmininginfo

bitcoind getmininginfo
Returns a json object containing mining-related information.
$ bitcoind getmininginfo
{
    "blocks" : 185134,
    "currentblocksize" : 0,
    "currentblocktx" : 0,
    "difficulty" : 1583177.84744401,
    "errors" : "",
    "genproclimit" : -1,
    "networkhashps" : 12212834332091,
    "pooledtx" : 3,
    "testnet" : false,
    "generate" : false,
    "hashespersec" : 0
}


mining listtransactions

see #listtransactions as this will show immature coins (not fully confirmed)

To Do

addmultisigaddress nrequired ["key",...] ( "account" )

createmultisig nrequired ["key",...]
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
decoderawtransaction "hexstring"
decodescript "hex"
dumpprivkey "bitcoinaddress"

encryptwallet "passphrase"

getaddednodeinfo dns ( "node" )

getbestblockhash
getblock "hash" ( verbose )
getblockchaininfo

getblockhash index
getblocktemplate ( "jsonrequestobject" )

getgenerate
gethashespersec

getrawchangeaddress
getrawmempool ( verbose )
getrawtransaction "txid" ( verbose )

gettransaction "txid"
gettxout "txid" n ( includemempool )
gettxoutsetinfo
getunconfirmedbalance

getwork ( "data" )

importprivkey "bitcoinprivkey" ( "label" rescan )

keypoolrefill ( newsize )

listaddressgroupings
listlockunspent

listsinceblock ( "blockhash" target-confirmations )

lockunspent unlock [{"txid":"txid","vout":n},...]

sendfrom "fromaccount" "tobitcoinaddress" amount ( minconf "comment" "comment-to" )
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" )
sendrawtransaction "hexstring" ( allowhighfees )

setgenerate generate ( genproclimit )

signmessage "bitcoinaddress" "message"
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )

submitblock "hexdata" ( "jsonparametersobject" )

verifychain ( checklevel numblocks )
verifymessage "bitcoinaddress" "signature" "message"

Full List of Commands

$ ./bitcoind help
addmultisigaddress nrequired ["key",...] ( "account" )
addnode "node" "add|remove|onetry"
backupwallet "destination"
createmultisig nrequired ["key",...]
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
decoderawtransaction "hexstring"
decodescript "hex"
dumpprivkey "bitcoinaddress"
dumpwallet "filename"
encryptwallet "passphrase"
getaccount "bitcoinaddress"
getaccountaddress "account"
getaddednodeinfo dns ( "node" )
getaddressesbyaccount "account"
getbalance ( "account" minconf )
getbestblockhash
getblock "hash" ( verbose )
getblockchaininfo
getblockcount
getblockhash index
getblocktemplate ( "jsonrequestobject" )
getconnectioncount
getdifficulty
getgenerate
gethashespersec
getinfo
getmininginfo
getnettotals
getnetworkhashps ( blocks height )
getnetworkinfo
getnewaddress ( "account" )
getpeerinfo
getrawchangeaddress
getrawmempool ( verbose )
getrawtransaction "txid" ( verbose )
getreceivedbyaccount "account" ( minconf )
getreceivedbyaddress "bitcoinaddress" ( minconf )
gettransaction "txid"
gettxout "txid" n ( includemempool )
gettxoutsetinfo
getunconfirmedbalance
getwalletinfo
getwork ( "data" )
help ( "command" )
importprivkey "bitcoinprivkey" ( "label" rescan )
importwallet "filename"
keypoolrefill ( newsize )
listaccounts ( minconf )
listaddressgroupings
listlockunspent
listreceivedbyaccount ( minconf includeempty )
listreceivedbyaddress ( minconf includeempty )
listsinceblock ( "blockhash" target-confirmations )
listtransactions ( "account" count from )
listunspent ( minconf maxconf  ["address",...] )
lockunspent unlock [{"txid":"txid","vout":n},...]
move "fromaccount" "toaccount" amount ( minconf "comment" )
ping
sendfrom "fromaccount" "tobitcoinaddress" amount ( minconf "comment" "comment-to" )
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" )
sendrawtransaction "hexstring" ( allowhighfees )
sendtoaddress "bitcoinaddress" amount ( "comment" "comment-to" )
setaccount "bitcoinaddress" "account"
setgenerate generate ( genproclimit )
settxfee amount
signmessage "bitcoinaddress" "message"
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
stop
submitblock "hexdata" ( "jsonparametersobject" )
validateaddress "bitcoinaddress"
verifychain ( checklevel numblocks )
verifymessage "bitcoinaddress" "signature" "message"

keywords