lightninglabs/lightning-dev-site

Stage 1: lnd flags need updating

Closed this issue · 2 comments

In the commands starting alice, bob and charlie's nodes, several flags and their corresponding breakdowns need to be updated (rpclisten --> rpcport, restlisten --> restport, change btcd to bitcoin and AFAIK remove --bitcoin.node=btcd)

think it should be:
lnd --rpcport=10001 --listen=localhost:10011 --restport=8001 --datadir=test_data --logdir=test_log --debuglevel=info --no-macaroons --bitcoin.simnet --bitcoin.active --bitcoin.rpcuser=kek --bitcoin.rpcpass=kek

ndeet commented

Hi, think this has been fixed upstream already:
http://dev.lightning.community/tutorial/01-lncli/index.html

Note to your command (as I run into issues with a similar command): You need to pass localhost to all *listen options otherwise it gets weird.
.e.g.:

alice$ lnd --rpclisten=localhost:10001 --listen=localhost:10011 --restlisten=localhost:8001 --datadir=test_data --logdir=test_log --debuglevel=info --no-macaroons --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek 

Gotcha, thanks! think i've been talking to you on slack about this (i'm vmw) :)