From 47329c9267f03887a2f1596a99f23446dc7d4176 Mon Sep 17 00:00:00 2001 From: "Andreas M. Antonopoulos" Date: Sat, 17 Mar 2018 15:37:57 -0600 Subject: [PATCH] docs: inconsistent ZMQ port numbers in examples The port numbers used in the ZMQ examples are inconsistent between: - The initial explanation of ZMQ ``` They must be combined in the same ZMQ socket address (e.g. `--zmqpubrawblock=tcp://127.0.0.1:28332` and `--zmqpubrawtx=tcp://127.0.0.1:28332`). ``` - The sample bitcoin.conf ``` zmqpubrawblock=tcp://127.0.0.1:18501 zmqpubrawtx=tcp://127.0.0.1:18501 ``` - The lnd command-line example: ``` lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug --bitcoin.node=bitcoind --bitcoind.rpcuser=REPLACEME --bitcoind.rpcpass=REPLACEME --bitcoind.zmqpath=tcp://127.0.0.1:28332 --externalip=X.X.X.X ``` I changed the sample bitcoin.conf port numbers to 28332 so they match the rest of the examples. --- docs/INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 5a0367e9b..77e6b049f 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -212,8 +212,8 @@ testnet=1 txindex=1 server=1 daemon=1 -zmqpubrawblock=tcp://127.0.0.1:18501 -zmqpubrawtx=tcp://127.0.0.1:18501 +zmqpubrawblock=tcp://127.0.0.1:28332 +zmqpubrawtx=tcp://127.0.0.1:28332 ``` Once all of the above is complete, and you've confirmed `bitcoind` is fully updated with the latest blocks on testnet, run the command below to launch `lnd` with `bitcoind` as your backend (as with `bitcoind`, you can create an `lnd.conf` to save these options, more info on that is described further below):