1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH ZCASHD "1" "August 2017" "zcashd v1.0.11" "User Commands"
4 zcashd \- manual page for zcashd v1.0.11
6 Zcash Daemon version v1.0.11
8 In order to ensure you are adequately protecting your privacy when using Zcash,
9 please see <https://z.cash/support/security/index.html>.
22 Receive and display P2P network alerts (default: 1)
24 \fB\-alertnotify=\fR<cmd>
26 Execute command when a relevant alert is received or we see a really
27 long fork (%s in cmd is replaced by message)
29 \fB\-blocknotify=\fR<cmd>
31 Execute command when the best block changes (%s in cmd is replaced by
34 \fB\-checkblocks=\fR<n>
36 How many blocks to check at startup (default: 288, 0 = all)
38 \fB\-checklevel=\fR<n>
40 How thorough the block verification of \fB\-checkblocks\fR is (0\-4, default: 3)
44 Specify configuration file (default: zcash.conf)
48 Run in the background as a daemon and accept commands
52 Specify data directory
54 \fB\-disabledeprecation=\fR<version>
56 Disable block\-height node deprecation and automatic shutdown (example:
57 \fB\-disabledeprecation\fR=\fI\,1\/\fR.0.11)
59 \fB\-exportdir=\fR<dir>
61 Specify directory to be used when exporting data
65 Set database cache size in megabytes (4 to 16384, default: 100)
67 \fB\-loadblock=\fR<file>
69 Imports blocks from external blk000??.dat file on startup
71 \fB\-maxorphantx=\fR<n>
73 Keep at most <n> unconnectable transactions in memory (default: 100)
75 \fB\-mempooltxinputlimit=\fR<n>
77 Set the maximum number of transparent inputs in a transaction that the
78 mempool will accept (default: 0 = no limit applied)
82 Set the number of script verification threads (\fB\-2\fR to 16, 0 = auto, <0 =
83 leave that many cores free, default: 0)
87 Specify pid file (default: zcashd.pid)
91 Reduce storage requirements by pruning (deleting) old blocks. This mode
92 disables wallet support and is incompatible with \fB\-txindex\fR. Warning:
93 Reverting this setting requires re\-downloading the entire blockchain.
94 (default: 0 = disable pruning blocks, >550 = target size in MiB to use
99 Rebuild block chain index from current blk000??.dat files on startup
103 Create new files with system default permissions, instead of umask 077
104 (only effective with disabled wallet functionality)
108 Maintain a full transaction index, used by the getrawtransaction rpc
115 Add a node to connect to and attempt to keep the connection open
119 Threshold for disconnecting misbehaving peers (default: 100)
123 Number of seconds to keep misbehaving peers from reconnecting (default:
128 Bind to given address and always listen on it. Use [host]:port notation
133 Connect only to the specified node(s)
137 Discover own IP addresses (default: 1 when listening and no \fB\-externalip\fR
142 Allow DNS lookups for \fB\-addnode\fR, \fB\-seednode\fR and \fB\-connect\fR (default: 1)
146 Query for peer addresses via DNS lookup, if low on addresses (default: 1
147 unless \fB\-connect\fR)
149 \fB\-externalip=\fR<ip>
151 Specify your own public address
155 Always query for peer addresses via DNS lookup (default: 0)
159 Accept connections from outside (default: 1 if no \fB\-proxy\fR or \fB\-connect\fR)
163 Automatically create Tor hidden service (default: 1)
165 \fB\-maxconnections=\fR<n>
167 Maintain at most <n> connections to peers (default: 125)
169 \fB\-maxreceivebuffer=\fR<n>
171 Maximum per\-connection receive buffer, <n>*1000 bytes (default: 5000)
173 \fB\-maxsendbuffer=\fR<n>
175 Maximum per\-connection send buffer, <n>*1000 bytes (default: 1000)
177 \fB\-onion=\fR<ip:port>
179 Use separate SOCKS5 proxy to reach peers via Tor hidden services
180 (default: \fB\-proxy\fR)
182 \fB\-onlynet=\fR<net>
184 Only connect to nodes in network <net> (ipv4, ipv6 or onion)
186 \fB\-permitbaremultisig\fR
188 Relay non\-P2SH multisig (default: 1)
192 Listen for connections on <port> (default: 8233 or testnet: 18233)
194 \fB\-proxy=\fR<ip:port>
196 Connect through SOCKS5 proxy
198 \fB\-proxyrandomize\fR
200 Randomize credentials for every proxy connection. This enables Tor
201 stream isolation (default: 1)
203 \fB\-seednode=\fR<ip>
205 Connect to a node to retrieve peer addresses, and disconnect
209 Specify connection timeout in milliseconds (minimum: 1, default: 5000)
211 \fB\-torcontrol=\fR<ip>:<port>
213 Tor control port to use if onion listening enabled (default:
216 \fB\-torpassword=\fR<pass>
218 Tor control port password (default: empty)
220 \fB\-whitebind=\fR<addr>
222 Bind to given address and whitelist peers connecting to it. Use
223 [host]:port notation for IPv6
225 \fB\-whitelist=\fR<netmask>
227 Whitelist peers connecting from the given netmask or IP address. Can be
228 specified multiple times. Whitelisted peers cannot be DoS banned and
229 their transactions are always relayed, even if they are already in the
230 mempool, useful e.g. for a gateway
234 \fB\-disablewallet\fR
236 Do not load the wallet and disable wallet RPC calls
240 Set key pool size to <n> (default: 100)
242 \fB\-paytxfee=\fR<amt>
244 Fee (in BTC/kB) to add to transactions you send (default: 0.00)
248 Rescan the blockchain for missing wallet transactions on startup
250 \fB\-salvagewallet\fR
252 Attempt to recover private keys from a corrupt wallet.dat on startup
254 \fB\-sendfreetransactions\fR
256 Send transactions as zero\-fee transactions if possible (default: 0)
258 \fB\-spendzeroconfchange\fR
260 Spend unconfirmed change when sending transactions (default: 1)
262 \fB\-txconfirmtarget=\fR<n>
264 If paytxfee is not set, include enough fee so transactions begin
265 confirmation on average within n blocks (default: 2)
267 \fB\-maxtxfee=\fR<amt>
269 Maximum total fees to use in a single wallet transaction; setting this
270 too low may abort large transactions (default: 0.10)
272 \fB\-upgradewallet\fR
274 Upgrade wallet to latest format on startup
276 \fB\-wallet=\fR<file>
278 Specify wallet file (within data directory) (default: wallet.dat)
280 \fB\-walletbroadcast\fR
282 Make the wallet broadcast transactions (default: 1)
284 \fB\-walletnotify=\fR<cmd>
286 Execute command when a wallet transaction changes (%s in cmd is replaced
289 \fB\-zapwallettxes=\fR<mode>
291 Delete all wallet transactions and only recover those parts of the
292 blockchain through \fB\-rescan\fR on startup (1 = keep tx meta data e.g.
293 account owner and payment request information, 2 = drop tx meta data)
295 ZeroMQ notification options:
297 \fB\-zmqpubhashblock=\fR<address>
299 Enable publish hash block in <address>
301 \fB\-zmqpubhashtx=\fR<address>
303 Enable publish hash transaction in <address>
305 \fB\-zmqpubrawblock=\fR<address>
307 Enable publish raw block in <address>
309 \fB\-zmqpubrawtx=\fR<address>
311 Enable publish raw transaction in <address>
313 Debugging/Testing options:
315 \fB\-debug=\fR<category>
317 Output debugging information (default: 0, supplying <category> is
318 optional). If <category> is not supplied or if <category> = 1, output
319 all debugging information. <category> can be: addrman, alert, bench,
320 coindb, db, estimatefee, http, libevent, lock, mempool, net,
321 partitioncheck, pow, proxy, prune, rand, reindex, rpc, selectcoins, tor,
322 zmq, zrpc, zrpcunsafe (implies zrpc).
324 \fB\-experimentalfeatures\fR
326 Enable use of experimental features
330 Show all debugging options (usage: \fB\-\-help\fR \fB\-help\-debug\fR)
334 Include IP addresses in debug output (default: 0)
336 \fB\-logtimestamps\fR
338 Prepend debug output with timestamp (default: 1)
340 \fB\-minrelaytxfee=\fR<amt>
342 Fees (in BTC/Kb) smaller than this are considered zero fee for relaying
345 \fB\-printtoconsole\fR
347 Send trace/debug info to console instead of debug.log file
349 \fB\-shrinkdebugfile\fR
351 Shrink debug.log file on client startup (default: 1 when no \fB\-debug\fR)
361 Relay and mine data carrier transactions (default: 1)
363 \fB\-datacarriersize\fR
365 Maximum size of data in data carrier transactions we relay and mine
368 Block creation options:
370 \fB\-blockminsize=\fR<n>
372 Set minimum block size in bytes (default: 0)
374 \fB\-blockmaxsize=\fR<n>
376 Set maximum block size in bytes (default: 2000000)
378 \fB\-blockprioritysize=\fR<n>
380 Set maximum size of high\-priority/low\-fee transactions in bytes
387 Generate coins (default: 0)
389 \fB\-genproclimit=\fR<n>
391 Set the number of threads for coin generation if enabled (\fB\-1\fR = all
394 \fB\-equihashsolver=\fR<name>
396 Specify the Equihash solver to be used if enabled (default: "default")
398 \fB\-mineraddress=\fR<addr>
400 Send mined coins to a specific single address
402 \fB\-minetolocalwallet\fR
404 Require that mined blocks use a coinbase address in the local wallet
411 Accept command line and JSON\-RPC commands
415 Accept public REST requests (default: 0)
417 \fB\-rpcbind=\fR<addr>
419 Bind to given address to listen for JSON\-RPC connections. Use
420 [host]:port notation for IPv6. This option can be specified multiple
421 times (default: bind to all interfaces)
423 \fB\-rpcuser=\fR<user>
425 Username for JSON\-RPC connections
427 \fB\-rpcpassword=\fR<pw>
429 Password for JSON\-RPC connections
431 \fB\-rpcport=\fR<port>
433 Listen for JSON\-RPC connections on <port> (default: 8232 or testnet:
436 \fB\-rpcallowip=\fR<ip>
438 Allow JSON\-RPC connections from specified source. Valid for <ip> are a
439 single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0)
440 or a network/CIDR (e.g. 1.2.3.4/24). This option can be specified
443 \fB\-rpcthreads=\fR<n>
445 Set the number of threads to service RPC calls (default: 4)
447 Metrics Options (only if \fB\-daemon\fR and \fB\-printtoconsole\fR are not set):
451 Show metrics on stdout (default: 1 if running in a console, 0 otherwise)
455 Set to 1 for a persistent metrics screen, 0 for sequential metrics
456 output (default: 1 if running in a console, 0 otherwise)
458 \fB\-metricsrefreshtime\fR
460 Number of seconds between metrics refreshes (default: 1 if running in a
461 console, 600 otherwise)
464 In order to ensure you are adequately protecting your privacy when using Zcash,
465 please see <https://z.cash/support/security/index.html>.
467 Copyright (C) 2009-2017 The Bitcoin Core Developers
468 Copyright (C) 2015-2017 The Zcash Developers
470 This is experimental software.
472 Distributed under the MIT software license, see the accompanying file COPYING
473 or <http://www.opensource.org/licenses/mit-license.php>.
475 This product includes software developed by the OpenSSL Project for use in the
476 OpenSSL Toolkit <https://www.openssl.org/> and cryptographic software written