mirror of
https://github.com/edouardparis/lntop
synced 2024-11-16 00:12:44 +00:00
app | ||
cli | ||
cmd/lntop | ||
config | ||
events | ||
logging | ||
network | ||
pubsub | ||
ui | ||
vendor | ||
.gitignore | ||
doc.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
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 git@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.