Edited ch03_bitcoin-core.adoc with Atlas code editor

develop
clenser 7 months ago
parent de09d434f0
commit e81c5f3696

@ -477,46 +477,46 @@ Here are some of
the most important options that you can set in the configuration file,
or as command-line parameters to +bitcoind+:
++alertnotify++:: Run a specified command or script to send emergency alerts
++alertnotify++:: Run ((("alertnotify option (bitcoind command)")))a specified command or script to send emergency alerts
to the owner of this node.
++conf++:: An alternative location for the configuration file. This only
++conf++:: An ((("conf option (bitcoind command)")))alternative location for the configuration file. This only
makes sense as a command-line parameter to +bitcoind+, as it can't be
inside the configuration file it refers to.
++datadir++:: Select the directory and filesystem in which to put all the
++datadir++:: Select((("datadir option (bitcoind command)"))) the directory and filesystem in which to put all the
blockchain data. By default this is the _.bitcoin_ subdirectory of your
home directory. Depending on your configuration, this can use from about 10
gigabytes to almost 1 terabyte as of this writing, with the maximum size
expected to increase by several hundred gigabytes per year.
++prune++:: Reduce the blockchain disk space requirements to this many megabytes, by
++prune++:: Reduce the((("prune option (bitcoind command)"))) blockchain disk space requirements to this many megabytes, by
deleting old blocks. Use this on a resource-constrained node that can't
fit the full blockchain. Other parts of the system will use other disk
space that can't currently be pruned, so you will still need at least
the minimum amount of space mentioned in the +datadir+ option.
++txindex++:: Maintain an index of all transactions. This allows you to
++txindex++:: Maintain ((("txindex option (bitcoind command)")))an index of all transactions. This allows you to
programmatically retrieve any transaction by its ID provided that the
block containing that transaction hasn't been pruned.
++dbcache++:: The size of the UTXO cache. The default is 450 MiB. Increase
++dbcache++:: The size((("dbcache option (bitcoind command)"))) of the UTXO cache. The default is 450 MiB. Increase
this size on high-end hardware to read and write from your disk less
often, or reduce the size on low-end hardware to save memory at the
expense of using your disk more frequently.
++blocksonly++:: Minimize your bandwidth usage by only accepting blocks of
++blocksonly++:: Minimize ((("blocksonly option (bitcoind command)")))your bandwidth usage by only accepting blocks of
confirmed transactions from your peers instead of relaying unconfirmed
transactions.
++maxmempool++:: Limit the transaction memory pool to this many megabytes.
++maxmempool++:: Limit ((("maxmempool option (bitcoind command)")))the transaction memory pool to this many megabytes.
Use it to reduce memory use on memory-constrained nodes.
[[txindex]]
.Transaction Database Index and txindex Option
****
By default,
Bitcoin Core builds a database containing _only_ the transactions
Bitcoin Core builds((("txindex option (bitcoind command)")))((("transactions", "building complete index"))) a database containing _only_ the transactions
related to the user's wallet. If you want to be able to access _any_
transaction with commands like +getrawtransaction+ (see
<<exploring_and_decoding_transactions>>), you need to configure Bitcoin

Loading…
Cancel
Save