From d5af509435603686d39cc2b35d40a28621ca0882 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 2 May 2017 20:49:40 -0700 Subject: [PATCH] docker: update docker instructions to be aware of multi-chain config --- docker/README.md | 3 +++ docker/lnd/start-lnd.sh | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docker/README.md b/docker/README.md index 471aa3d8a..2f6ce69f1 100644 --- a/docker/README.md +++ b/docker/README.md @@ -109,6 +109,9 @@ bob$ lncli getinfo "block_hash": "7d0bc86ea4151ed3b5be908ea883d2ac3073263537bcf8ca2dca4bec22e79d50", "synced_to_chain": true, "testnet": false + "chains": [ + "bitcoin" + ] } # Get the IP address of "Bob" node: diff --git a/docker/lnd/start-lnd.sh b/docker/lnd/start-lnd.sh index ef7cad517..72492b9b6 100755 --- a/docker/lnd/start-lnd.sh +++ b/docker/lnd/start-lnd.sh @@ -47,10 +47,11 @@ BITCOIN_NETWORK=$(set_default "$BITCOIN_NETWORK" "simnet") lnd \ --datadir="/data" \ --logdir="/data" \ - "--$BITCOIN_NETWORK" \ - --btcdhost="btcd" \ --rpccert="/rpc/rpc.cert" \ - --rpcuser="$RPCUSER" \ - --rpcpass="$RPCPASS" \ + --bitcoin.active \ + "--bitcoin.$BITCOIN_NETWORK" \ + --bitcoin.rpchost="btcd" \ + --bitcoin.rpcuser="$RPCUSER" \ + --bitcoin.rpcpass="$RPCPASS" \ --debuglevel="$DEBUG" \ "$@"