From 5ecdb848ec6e9fe5e5e71ad1aa57210c270315a4 Mon Sep 17 00:00:00 2001 From: Karl Ranna Date: Wed, 12 Sep 2018 19:11:39 +0300 Subject: [PATCH] Update README with bitcoind setup This PR updates the README to include instructions on how to connect bitcoind full node. Closes https://github.com/lightninglabs/lightning-app/issues/662 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 19eda58d8..8fb1813dc 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ To run the packaged version of the app e.g. for macOS run: ### Starting the Packaged App (full node) +#### btcd Start btcd in a seperate terminal session and wait until it's fully synced (can take over a day) ``` btcd --testnet --txindex --rpcuser=kek --rpcpass=kek @@ -71,6 +72,16 @@ To run the packaged version of the app e.g. for macOS run: ./dist/mac/Lightning.app/Contents/MacOS/Lightning --btcd.rpcuser=kek --btcd.rpcpass=kek ``` +#### bitcoind +Start bitcoind in a seperate terminal session and wait until it's fully synced (can take over a day) +``` +bitcoind -testnet -txindex=1 -rpcuser=kek -rpcpassword=kek -rpcbind=localhost -zmqpubrawblock=tcp://127.0.0.1:28332 -zmqpubrawtx=tcp://127.0.0.1:28333 +``` + +To run the packaged version of the app e.g. for macOS run: +``` +./dist/mac/Lightning.app/Contents/MacOS/Lightning --bitcoin.node=bitcoind --bitcoind.rpcuser=kek --bitcoind.rpcpass=kek --bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333 +``` ### Lnd data and logs Lnd data and logs are written to the following locations in production: