FAQ

From PlebNet Wiki
Revision as of 11:55, 20 September 2021 by VS (talk | contribs) (→‎Q4)
Jump to navigation Jump to search

FAQ

Q1 Recommendations for Good Peers

There is no straightforward recommendation.

1- I would recommend all my channels as good peers. My channel list is public (like everyone else)

2- Terminal ranks peers based on their criteria.

3- lnnode helps you do channel simulation of how your centrality is impacted by adding someone as a peer.

4- gridflare provides recommendations individual to your own channel.

5- Communicating within plebnet groups let you interact with node operators who you can judge from their interaction as good peers

6- ultimately anyone willing to open up their node for routing and investing, time, effort, and sats to operate a lightning node is a good peer.

Also see Opening channels and Resources

Q2 Other node cann not connect to my TOR node

If the other node is a clearnet node, you would need to add them as peer first before they can connect/open channel to you. You can add peer via RTL/ThunderHub or other apps or using command line ~/umbrel/bin/lncli connect <PubKey or URI of the peer>. For example to connect to my node as peer, please use

~/umbrel/bin/lncli connect 03c5528c628681aa17ab9e117aa3ee6f06c750dfb17df758ecabcd68f1567ad8c1

OR

~/umbrel/bin/lncli connect 03c5528c628681aa17ab9e117aa3ee6f06c750dfb17df758ecabcd68f1567ad8c1@zacadqiqgi43tdv4ztjet2fh22f72ol2tokotp5cqdbszgx6tpyqdxad.onion:9735

Q3 Viewing Stream-Lnd-HTLC output in human readable format

steam-lnd-htlc is script used to monitor HTLC events on your node. However the output is in JSON format which may not immediately be human readable format. This can be solved by adding a custom alias

alias strhtlc='tail -f ~/stream-lnd-htlcs/htlc-stream.json | sed -e '\s/, /\n/g'\ -e '\s/{/\n{\n/g'\ -e '\s/}/\n}/g'\ -e '\s/'\\'\\//g'\

replace ~/stream-lnd-htlcs/htlc-stream.json by the actual path of your output file from stream-lnd-htlc script.

after this each time you type strhtlc you will start looking at the output which you can read on screen. To stop press ctrl-c

you can add this line in your aliases files so that it is remembered each time.

nano ~/.bash_aliases add the line alias strhtlc='tail -f ~/stream-lnd-htlcs/htlc-stream.json | sed -e '\s/, /\n/g'\ -e '\s/{/\n{\n/g'\ -e '\s/}/\n}/g'\ -e '\s/'\\'\\//g'\


Save and Exit ctrl-x then Y then enter

Q4 How do I run stream-lnd-htlc 24x7

1. You can run in TMUX. See Umbrel_-_Installing_BoS#TMUX_Instructions for high-level instructions on installing tmux.

2. Use disown python3 stream-lnd-htlcs.py --lnd-dir ~/umbrel/lnd --silent SILENT --human-dates HUMANDATES 1>/tmp/stream-lnd-htlc.log 2>&1 & disown