From fa478266fc4eee3c939ed17dabf67eaa74200e48 Mon Sep 17 00:00:00 2001 From: Yancy Ribbens Date: Sat, 3 Feb 2018 16:57:05 -0600 Subject: [PATCH] docs: update INSTALL.md to provide sample bitcoin.conf --- docs/INSTALL.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index c48addbc..925d5a2c 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -188,6 +188,17 @@ be configured with `--txindex` just like `btcd` above wallet). 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`). - Start `bitcoind` running against testnet, and let it complete a full sync with the testnet chain (alternatively, use `--bitcoind.regtest` instead). +Here's a sample `bitcoin.conf` for use with lnd: +``` +[Application Options] +testnet=1 +txindex=1 +server=1 +daemon=1 +zmqpubrawblock=tcp://127.0.0.1:18501 +zmqpubrawtx=tcp://127.0.0.1:18501 +``` + 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): ```