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.

bitcoin-cli.1 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
  2. .TH BITCOIN-CLI "1" "September 2017" "bitcoin-cli v0.15.99.0" "User Commands"
  3. .SH NAME
  4. bitcoin-cli \- manual page for bitcoin-cli v0.15.99.0
  5. .SH DESCRIPTION
  6. Bitcoin Core RPC client version v0.15.99.0
  7. .SS "Usage:"
  8. .TP
  9. bitcoin\-cli [options] <command> [params]
  10. Send command to Bitcoin Core
  11. .IP
  12. bitcoin\-cli [options] \fB\-named\fR <command> [name=value] ... Send command to Bitcoin Core (with named arguments)
  13. bitcoin\-cli [options] help List commands
  14. bitcoin\-cli [options] help <command> Get help for a command
  15. .SH OPTIONS
  16. .HP
  17. \-?
  18. .IP
  19. This help message
  20. .HP
  21. \fB\-conf=\fR<file>
  22. .IP
  23. Specify configuration file (default: bitcoin.conf)
  24. .HP
  25. \fB\-datadir=\fR<dir>
  26. .IP
  27. Specify data directory
  28. .PP
  29. Chain selection options:
  30. .HP
  31. \fB\-testnet\fR
  32. .IP
  33. Use the test chain
  34. .HP
  35. \fB\-regtest\fR
  36. .IP
  37. Enter regression test mode, which uses a special chain in which blocks
  38. can be solved instantly. This is intended for regression testing
  39. tools and app development.
  40. .HP
  41. \fB\-named\fR
  42. .IP
  43. Pass named instead of positional arguments (default: false)
  44. .HP
  45. \fB\-rpcconnect=\fR<ip>
  46. .IP
  47. Send commands to node running on <ip> (default: 127.0.0.1)
  48. .HP
  49. \fB\-rpcport=\fR<port>
  50. .IP
  51. Connect to JSON\-RPC on <port> (default: 8332 or testnet: 18332)
  52. .HP
  53. \fB\-rpcwait\fR
  54. .IP
  55. Wait for RPC server to start
  56. .HP
  57. \fB\-rpcuser=\fR<user>
  58. .IP
  59. Username for JSON\-RPC connections
  60. .HP
  61. \fB\-rpcpassword=\fR<pw>
  62. .IP
  63. Password for JSON\-RPC connections
  64. .HP
  65. \fB\-rpcclienttimeout=\fR<n>
  66. .IP
  67. Timeout in seconds during HTTP requests, or 0 for no timeout. (default:
  68. 900)
  69. .HP
  70. \fB\-stdinrpcpass\fR
  71. .TP
  72. Read RPC password from standard input as a single line.
  73. When combined
  74. .IP
  75. with \fB\-stdin\fR, the first line from standard input is used for the
  76. RPC password.
  77. .HP
  78. \fB\-stdin\fR
  79. .IP
  80. Read extra arguments from standard input, one per line until EOF/Ctrl\-D
  81. (recommended for sensitive information such as passphrases).
  82. When combined with \fB\-stdinrpcpass\fR, the first line from standard
  83. input is used for the RPC password.
  84. .HP
  85. \fB\-rpcwallet=\fR<walletname>
  86. .IP
  87. Send RPC for non\-default wallet on RPC server (argument is wallet
  88. filename in bitcoind directory, required if bitcoind/\-Qt runs
  89. with multiple wallets)
  90. .SH COPYRIGHT
  91. Copyright (C) 2009-2017 The Bitcoin Core developers
  92. Please contribute if you find Bitcoin Core useful. Visit
  93. <https://bitcoincore.org> for further information about the software.
  94. The source code is available from <https://github.com/bitcoin/bitcoin>.
  95. This is experimental software.
  96. Distributed under the MIT software license, see the accompanying file COPYING
  97. or <https://opensource.org/licenses/MIT>
  98. This product includes software developed by the OpenSSL Project for use in the
  99. OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
  100. Eric Young and UPnP software written by Thomas Bernard.