2
0
mirror of https://github.com/edouardparis/lntop synced 2024-11-06 03:20:21 +00:00
Go to file
2021-06-05 19:48:10 +03:00
app fix logger: use default development 2019-04-13 17:52:33 +02:00
cli V0.1.0 (#10) 2019-05-14 18:13:59 +02:00
cmd/lntop cli: init app 2019-03-15 16:08:57 +01:00
config V0.1.0 (#10) 2019-05-14 18:13:59 +02:00
docker update dependencies, remove vendor directory 2021-05-30 20:02:55 +02:00
events V0.1.0 (#10) 2019-05-14 18:13:59 +02:00
logging fix logger: use default development 2019-04-13 17:52:33 +02:00
network update dependencies, remove vendor directory 2021-05-30 20:02:55 +02:00
pubsub V0.1.0 (#10) 2019-05-14 18:13:59 +02:00
ui Constrain the cursor and prevent segfaults 2021-06-05 19:48:10 +03:00
.gitignore goreleaser 2019-04-16 13:18:51 +02:00
.goreleaser.yml fix goreleaser 2019-05-20 09:35:54 +02:00
doc.go add doc.go 2019-04-11 13:18:11 +02:00
go.mod update dependencies, remove vendor directory 2021-05-30 20:02:55 +02:00
go.sum update dependencies, remove vendor directory 2021-05-30 20:02:55 +02:00
LICENSE Initial commit 2019-03-15 15:42:17 +01:00
README.md update dependencies, remove vendor directory 2021-05-30 20:02:55 +02:00

lntop

MIT licensed Go Report Card Godoc tippin.me

lntop is an interactive text-mode channels viewer for Unix systems.

lntop-v0.1.0 lntop-v0.1.0

Install

Require the go programming language (version >= 1.11)

git clone https://github.com/edouardparis/lntop.git
cd lntop && export GO111MODULE=on && go install ./...

Config

First time lntop is used a config file .lntop/config.toml is created in the user home directory.

Change macaroon path according to your network.

[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

[views]
# views.channels is the view displaying channel list.
[views.channels]
# It is possible to add, remove and order columns of the
# table with the array columns. The available values are:
columns = [
	"STATUS",      # status of the channel
	"ALIAS",       # alias of the channel node
	"GAUGE",       # ascii bar with percent local/capacity
	"LOCAL",       # the local amount of the channel
	"CAP",         # the total capacity of the channel
	"SENT",        # the total amount sent
	"RECEIVED",    # the total amount received
	"HTLC",        # the number of pending HTLC
	"UNSETTLED",   # the amount unsettled in the channel
	"CFEE",        # the commit fee
	"LAST UPDATE", # last update of the channel
	"PRIVATE",     # true if channel is private
	"ID",          # the id of the channel
]

[views.transactions]
# It is possible to add, remove and order columns of the
# table with the array columns. The available values are:
columns = [
	"DATE",      # date of the transaction
	"HEIGHT",    # block height of the transaction
	"CONFIR",    # number of confirmations
	"AMOUNT",    # amount moved by the transaction
	"FEE",       # fee of the transaction
	"ADDRESSES", # number of transaction output addresses
]

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