From 9b6ad7b888e9b5d3b10d95c95aea1d0d324d65db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Calder=C3=B3n?= Date: Fri, 3 Aug 2018 12:44:50 -0300 Subject: [PATCH 1/2] Added missing commands on local simnet install --- assets/script/setup_local_cluster.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/script/setup_local_cluster.md b/assets/script/setup_local_cluster.md index e9db613e8..dcbc0fba8 100644 --- a/assets/script/setup_local_cluster.md +++ b/assets/script/setup_local_cluster.md @@ -13,6 +13,10 @@ btcd --txindex --simnet --rpcuser=kek --rpcpass=kek --datadir=data/btcd/data --l lnd --rpclisten=localhost:10009 --listen=localhost:10019 --restlisten=localhost:8009 --lnddir=data/lnd --debuglevel=info --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek --no-macaroons +# if this is your first time, create the wallet +lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd create + +# otherwise unlock the wallet lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd unlock lnd --rpclisten=localhost:10002 --listen=localhost:10012 --restlisten=localhost:8002 --lnddir=data/lnd2 --debuglevel=info --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek --no-macaroons --noencryptwallet @@ -41,6 +45,8 @@ lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd connect PUB_K lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd openchannel --node_key=PUB_KEY --local_amt=16000000 +btcctl --simnet --rpcuser=kek --rpcpass=kek generate 6 + lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd listchannels lncli --rpcserver=localhost:10002 --no-macaroons --lnddir=data/lnd2 addinvoice --amt=10000 From 7d86a98a1f69bd3f7a9bae36d7746114b091c8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Calder=C3=B3n?= Date: Tue, 7 Aug 2018 16:38:49 -0300 Subject: [PATCH 2/2] removed unnecesary command --- assets/script/setup_local_cluster.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/assets/script/setup_local_cluster.md b/assets/script/setup_local_cluster.md index dcbc0fba8..7e350a605 100644 --- a/assets/script/setup_local_cluster.md +++ b/assets/script/setup_local_cluster.md @@ -13,10 +13,6 @@ btcd --txindex --simnet --rpcuser=kek --rpcpass=kek --datadir=data/btcd/data --l lnd --rpclisten=localhost:10009 --listen=localhost:10019 --restlisten=localhost:8009 --lnddir=data/lnd --debuglevel=info --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek --no-macaroons -# if this is your first time, create the wallet -lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd create - -# otherwise unlock the wallet lncli --rpcserver=localhost:10009 --no-macaroons --lnddir=data/lnd unlock lnd --rpclisten=localhost:10002 --listen=localhost:10012 --restlisten=localhost:8002 --lnddir=data/lnd2 --debuglevel=info --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek --no-macaroons --noencryptwallet