fix readme and default config

pull/10/head
Edouard Paris 5 years ago
parent 734336a86a
commit 1cea6a9b24

@ -7,8 +7,8 @@
`lntop` is an interactive text-mode channels viewer for Unix systems.
![lntop-v0.1.0](http://paris.iiens.net/lntop-v0.1.0.png)
*lntop-v0.1.0*
![lntop-v0.0.0](http://paris.iiens.net/lntop-v0.0.0.png?)
*lntop-v0.0.0*
## Install
@ -46,53 +46,32 @@ pool_capacity = 3
[views.channels]
# It is possible to add, remove and order columns of the
# table with the array columns. The available values are:
# 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
columns = [
"STATUS",
"ALIAS",
"GAUGE",
"LOCAL",
"CAP",
"SENT",
"RECEIVED",
"HTLC",
"UNSETTLED",
"CFEE",
"LAST UPDATE",
"PRIVATE",
"ID",
"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:
# 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
columns = [
"TIME",
"HEIGHT",
"CONFIR",
"AMOUNT",
"FEE",
"ADDRESSES",
"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
]
```

@ -29,53 +29,32 @@ pool_capacity = %[11]d
[views.channels]
# It is possible to add, remove and order columns of the
# table with the array columns. The available values are:
# 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
columns = [
"STATUS",
"ALIAS",
"GAUGE",
"LOCAL",
"CAP",
"SENT",
"RECEIVED",
"HTLC",
"UNSETTLED",
"CFEE",
"LAST UPDATE",
"PRIVATE",
"ID",
"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:
# 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
columns = [
"TIME",
"HEIGHT",
"CONFIR",
"AMOUNT",
"FEE",
"ADDRESSES",
"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
]
`,
cfg.Logger.Type,

Loading…
Cancel
Save