Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing not showing under menu F2 #108

Closed
HappyBear-btc opened this issue May 4, 2023 · 8 comments
Closed

Routing not showing under menu F2 #108

HappyBear-btc opened this issue May 4, 2023 · 8 comments

Comments

@HappyBear-btc
Copy link

Screenshot_4

I run a node on amd64, followed the raspibolt/miniblot guide.
after installing lntop the menu only showing channel and transactions without routing.

@edouardparis
Copy link
Owner

edouardparis commented May 4, 2023

Can you give me your lntop version please.
Raspibolt guide give you instruction to install 0.3 but 0.4 is the version with the routing tab. My bad it is for the forwarding history.

Can you please add

[views.routing]
columns = [
        "IN_SCID",
        "OUT_SCID",
	"DIR",            # event type:  send, receive, forward
	"STATUS",         # one of: active, settled, failed, linkfail
	"IN_CHANNEL",     # channel id of the incomming channel
	"IN_ALIAS",       # incoming channel node alias
	"IN_SCID",      # incoming short channel id (BxTxO)
	"IN_HTLC",      # htlc id on incoming channel
	"IN_TIMELOCK",  # incoming timelock height
	"OUT_CHANNEL",    # channel id of the outgoing channel
	"OUT_ALIAS",      # outgoing channel node alias
	"OUT_SCID",     # outgoing short channel id (BxTxO)
	"OUT_HTLC",     # htlc id on outgoing channel
	"OUT_TIMELOCK", # outgoing timelock height
	"AMOUNT",         # routed amount
	"FEE",            # routing fee
	"LAST UPDATE",    # last update
	"DETAIL",         # error description
]

to your lntop config (should be in ~/.lntop/config.toml)

@HappyBear-btc
Copy link
Author

HappyBear-btc commented May 4, 2023

I followed this guide as is
https://minibolt.info/guide/bonus/lightning/lntop.html
is my version is wrong? I see 0.4.0 doesn't have x86_64 file...

@HappyBear-btc
Copy link
Author

I added the text to config file. still routing is not showing

@edouardparis
Copy link
Owner

Sorry I misread the guide, I think you have the version 0.1 that does not have the routing panel feature.
I compiled and signed a new x86_64 binary to the v0.4.0 release

@HappyBear-btc
Copy link
Author

HappyBear-btc commented May 8, 2023

thank you so much!
I downloaded it but couldn't install. I followed the guide on minibolt and did the following:
$ wget https://github.com/edouardparis/lntop/releases/download/v0.4.0/lntop-v0.4.0_Linux_x86_64.tar.gz
$ tar -xvf lntop-v0.4.0_Linux_x86_64.tar.gz
$ sudo install -m 0755 -o root -g root -t /usr/local/bin ./lntop

and I got this error:
$ install: cannot stat './lntop': No such file or directory

I also tried the instructions from github but this error:
Command 'lntop' not found, did you mean:
command 'sntop' from deb sntop (1.4.3-6)
Try: sudo apt install
image

@edouardparis
Copy link
Owner

edouardparis commented May 8, 2023

So you have the three explanation for the three alternative (your choice)

tar -xvf lntop-v0.4.0_Linux_x86_64.tar.gz must have extract the files in lntop-v0.4.0-Linux_x86_64
so you may do: sudo install -m 0755 -o root -g root -t /usr/local/bin ./lntop-v0.4.0-Linux_x86_64/lntop instead

go install will move the binary in your $GOBIN wich may not be linked in your bashrc
I think you can add it with export PATH="$PATH:$HOME/go/bin"

go build will build the binary in the directory you are currently. so I think you can run it with
cd ~/lntop && ./lntop because you already build it

@HappyBear-btc
Copy link
Author

Hi thanks! actually I did slightly different before I read your comment
sudo install -m 0755 -o root -g root -t /usr/local/bin release-v0.4.0-Linux-x86_64/lntop

and it seems to work now.
image

@HappyBear-btc
Copy link
Author

thanks for the update! lntop 0.4.0 is now part of the minibolt bonus guide
https://minibolt.info/guide/bonus/lightning/lntop.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants