docs: fix double hypen to single hyphen.

bitcoind uses single hyphens so changed where necessary.
This commit is contained in:
ziggie
2023-10-27 13:30:44 +02:00
parent 14c4addcdc
commit 8bbab59745

View File

@ -438,7 +438,7 @@ in `--bitcoin.simnet` if needed), and also your own `btcd` node if available:
## Using bitcoind ## Using bitcoind
Note that adding `--txindex` is optional, as it will take longer to sync the Note that adding `-txindex` is optional, as it will take longer to sync the
node, but then `lnd` will generally operate faster as it can hit the index node, but then `lnd` will generally operate faster as it can hit the index
directly, rather than scanning blocks or BIP 158 filters for relevant items. directly, rather than scanning blocks or BIP 158 filters for relevant items.
@ -453,16 +453,16 @@ the following:
If you installed `bitcoind` via Homebrew in the past ZMQ may not be included If you installed `bitcoind` via Homebrew in the past ZMQ may not be included
([this has now been fixed](https://github.com/Homebrew/homebrew-core/pull/23088) ([this has now been fixed](https://github.com/Homebrew/homebrew-core/pull/23088)
in the latest Homebrew recipe for bitcoin) in the latest Homebrew recipe for bitcoin)
- Configure the `bitcoind` instance for ZMQ with `--zmqpubrawblock` and - Configure the `bitcoind` instance for ZMQ with `-zmqpubrawblock` and
`--zmqpubrawtx`. These options must each use their own unique address in order `-zmqpubrawtx`. These options must each use their own unique address in order
to provide a reliable delivery of notifications (e.g. to provide a reliable delivery of notifications (e.g.
`--zmqpubrawblock=tcp://127.0.0.1:28332` and `-zmqpubrawblock=tcp://127.0.0.1:28332` and
`--zmqpubrawtx=tcp://127.0.0.1:28333`). `-zmqpubrawtx=tcp://127.0.0.1:28333`).
- Make sure the config setting `-rpcserialversion` in `bitcoind` is either set - Make sure the config setting `-rpcserialversion` in `bitcoind` is either set
to 1 or NOT used because bitcoind's default behaviour is already correct to 1 or NOT used because bitcoind's default behaviour is already correct
(see https://github.com/bitcoin/bitcoin/issues/28730 for more infos). (see [bitcoin/issues/28730](https://github.com/bitcoin/bitcoin/issues/28730)
Lightning depends on segwit transactions therefore we need the witness for more infos). Lightning depends on segwit transactions therefore we need
data when querying the bitcoind backend for transaction details. the witness data when querying the bitcoind backend for transaction details.
- Start `bitcoind` running against testnet, and let it complete a full sync with - Start `bitcoind` running against testnet, and let it complete a full sync with
the testnet chain (alternatively, use `--bitcoind.regtest` instead). the testnet chain (alternatively, use `--bitcoind.regtest` instead).