lightninglabs / lightning-dev-site

Lightning Network Daemon Developer Site
25 stars 40 forks source link

Stage 1: lnd flags need updating #28

Closed valentinewallace closed 6 years ago

valentinewallace commented 6 years ago

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 6 years ago

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 
valentinewallace commented 6 years ago

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