mirror of
https://github.com/rkfg/regolancer
synced 2024-11-15 00:15:27 +00:00
Add missing TOML options
This commit is contained in:
parent
b806360d46
commit
19c2304bc3
10
main.go
10
main.go
@ -18,15 +18,15 @@ import (
|
||||
|
||||
type configParams struct {
|
||||
Config string `short:"f" long:"config" description:"config file path"`
|
||||
Connect string `short:"c" long:"connect" description:"connect to lnd using host:port" json:"connect"`
|
||||
TLSCert string `short:"t" long:"tlscert" description:"path to tls.cert to connect" required:"false" json:"tlscert"`
|
||||
Connect string `short:"c" long:"connect" description:"connect to lnd using host:port" json:"connect" toml:"connect"`
|
||||
TLSCert string `short:"t" long:"tlscert" description:"path to tls.cert to connect" required:"false" json:"tlscert" toml:"tlscert"`
|
||||
MacaroonDir string `long:"macaroon-dir" description:"path to the macaroon directory" required:"false" json:"macaroon_dir" toml:"macaroon_dir"`
|
||||
MacaroonFilename string `long:"macaroon-filename" description:"macaroon filename" json:"macaroon_filename" toml:"macaroon_filename"`
|
||||
Network string `short:"n" long:"network" description:"bitcoin network to use" json:"network"`
|
||||
Network string `short:"n" long:"network" description:"bitcoin network to use" json:"network" toml:"network"`
|
||||
FromPerc int64 `long:"pfrom" description:"channels with less than this inbound liquidity percentage will be considered as source channels" json:"pfrom" toml:"pfrom"`
|
||||
ToPerc int64 `long:"pto" description:"channels with less than this outbound liquidity percentage will be considered as target channels" json:"pto" toml:"pto"`
|
||||
Perc int64 `short:"p" long:"perc" description:"use this value as both pfrom and pto from above" json:"perc"`
|
||||
Amount int64 `short:"a" long:"amount" description:"amount to rebalance" json:"amount"`
|
||||
Perc int64 `short:"p" long:"perc" description:"use this value as both pfrom and pto from above" json:"perc" toml:"perc"`
|
||||
Amount int64 `short:"a" long:"amount" description:"amount to rebalance" json:"amount" toml:"amount"`
|
||||
EconRatio float64 `short:"r" long:"econ-ratio" description:"economical ratio for fee limit calculation as a multiple of target channel fee (for example, 0.5 means you want to pay at max half the fee you might earn for routing out of the target channel)" json:"econ_ratio" toml:"econ_ratio"`
|
||||
FeeLimitPPM int64 `short:"F" long:"fee-limit-ppm" description:"don't consider the target channel fee and use this max fee ppm instead (can rebalance at a loss, be careful)" json:"fee_limit_ppm" toml:"fee_limit_ppm"`
|
||||
LostProfit bool `short:"l" long:"lost-profit" description:"also consider the outbound channel fees when looking for profitable routes so that outbound_fee+inbound_fee < route_fee" json:"lost_profit" toml:"lost_profit"`
|
||||
|
Loading…
Reference in New Issue
Block a user