mirror of https://github.com/edouardparis/lntop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cdcb1d02c8
docker: drop docker-compose dependency |
5 years ago | |
---|---|---|
app | 5 years ago | |
cli | 5 years ago | |
cmd/lntop | 5 years ago | |
config | 5 years ago | |
docker | 5 years ago | |
events | 5 years ago | |
logging | 5 years ago | |
network | 5 years ago | |
pubsub | 5 years ago | |
ui | 5 years ago | |
vendor | 5 years ago | |
.gitignore | 5 years ago | |
.goreleaser.yml | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
doc.go | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago |
README.md
lntop
lntop
is an interactive text-mode channels viewer for Unix systems.
Install
Require the go programming language (version >= 1.11)
git clone https://github.com/edouardparis/lntop.git
cd lntop && export GO111MODULE=on && go install -mod=vendor ./...
Config
First time lntop
is used a config file .lntop/config.toml
is created
in the user home directory.
[logger]
type = "production"
dest = "/root/.lntop/lntop.log"
[network]
name = "lnd"
type = "lnd"
address = "//127.0.0.1:10009"
cert = "/root/.lnd/tls.cert"
macaroon = "/root/.lnd/data/chain/bitcoin/mainnet/admin.macaroon"
macaroon_timeout = 60
max_msg_recv_size = 52428800
conn_timeout = 1000000
pool_capacity = 3
Change macaroon path according to your network.
Docker
If you prefer to run lntop
from a docker container, cd docker
and follow README
there.
Compatibility
lntop | lightningnetwork/lnd |
---|---|
v0.0.1 | v0.5.1 |