diff --git a/README.md b/README.md index eb6a015..a47b9aa 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,7 @@ Common: -e, --exclude-channel (DEPRECATED) don't use this channel at all (can be specified multiple times) -d, --exclude-node (DEPRECATED) don't use this node for routing (can be specified multiple times) --exclude don't use this node or your channel for routing (can be specified multiple times) - --exclude-channel-age channels with a lower channel age (in blocks) relative to the current blockheight are excluded when rebalancing - --to try only this channel or node as target (should satisfy other constraints too; can be specified multiple times) + --exclude-channel-age don't use channels opened less than this number of blocks ago --to try only this channel or node as target (should satisfy other constraints too; can be specified multiple times) --from try only this channel or node as source (should satisfy other constraints too; can be specified multiple times) --fail-tolerance a payment that differs from the prior attempt by this ppm will be cancelled --allow-unbalance-from (DEPRECATED) let the source channel go below 50% local liquidity, use if you want to drain a channel; you should also set --pfrom to >50 diff --git a/info.go b/info.go index 3606f6b..8cead44 100644 --- a/info.go +++ b/info.go @@ -80,7 +80,7 @@ func (r *regolancer) info(ctx context.Context) error { } fmt.Println() if params.ExcludeChannelAge != 0 { - fmt.Printf("ChannelAge needs to be >= than: %s blocks\n", hiWhiteColor(params.ExcludeChannelAge)) + fmt.Printf("Channel age needs to be >= %s blocks\n", hiWhiteColor(params.ExcludeChannelAge)) } fmt.Printf("Fail tolerance: %s ppm\n", formatAmt(int64(params.FailTolerance))) printBooleanOption("Rapid rebalance", params.AllowRapidRebalance) diff --git a/main.go b/main.go index bd1502d..fb42822 100644 --- a/main.go +++ b/main.go @@ -45,7 +45,7 @@ type configParams struct { ExcludeChannels []string `short:"e" long:"exclude-channel" description:"(DEPRECATED) don't use this channel at all (can be specified multiple times)" json:"exclude_channels" toml:"exclude_channels"` ExcludeNodes []string `short:"d" long:"exclude-node" description:"(DEPRECATED) don't use this node for routing (can be specified multiple times)" json:"exclude_nodes" toml:"exclude_nodes"` Exclude []string `long:"exclude" description:"don't use this node or your channel for routing (can be specified multiple times)" json:"exclude" toml:"exclude"` - ExcludeChannelAge uint64 `long:"exclude-channel-age" description:"channels with a lower channel age (in blocks) relative to the current blockheight are excluded when rebalancing" json:"exclude_channel_age" toml:"exclude_channel_age"` + ExcludeChannelAge uint64 `long:"exclude-channel-age" description:"don't use channels opened less than this number of blocks ago" json:"exclude_channel_age" toml:"exclude_channel_age"` To []string `long:"to" description:"try only this channel or node as target (should satisfy other constraints too; can be specified multiple times)" json:"to" toml:"to"` From []string `long:"from" description:"try only this channel or node as source (should satisfy other constraints too; can be specified multiple times)" json:"from" toml:"from"` FailTolerance int64 `long:"fail-tolerance" description:"a payment that differs from the prior attempt by this ppm will be cancelled" json:"fail_tolerance" toml:"fail_tolerance"`