Skip to content

Commit ff679c9

Browse files
committed
Reword descriptions
1 parent bfe17d0 commit ff679c9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ Common:
8888
-e, --exclude-channel (DEPRECATED) don't use this channel at all (can be specified multiple times)
8989
-d, --exclude-node (DEPRECATED) don't use this node for routing (can be specified multiple times)
9090
--exclude don't use this node or your channel for routing (can be specified multiple times)
91-
--exclude-channel-age channels with a lower channel age (in blocks) relative to the current blockheight are excluded when rebalancing
92-
--to try only this channel or node as target (should satisfy other constraints too; can be specified multiple times)
91+
--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)
9392
--from try only this channel or node as source (should satisfy other constraints too; can be specified multiple times)
9493
--fail-tolerance a payment that differs from the prior attempt by this ppm will be cancelled
9594
--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

info.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (r *regolancer) info(ctx context.Context) error {
8080
}
8181
fmt.Println()
8282
if params.ExcludeChannelAge != 0 {
83-
fmt.Printf("ChannelAge needs to be >= than: %s blocks\n", hiWhiteColor(params.ExcludeChannelAge))
83+
fmt.Printf("Channel age needs to be >= %s blocks\n", hiWhiteColor(params.ExcludeChannelAge))
8484
}
8585
fmt.Printf("Fail tolerance: %s ppm\n", formatAmt(int64(params.FailTolerance)))
8686
printBooleanOption("Rapid rebalance", params.AllowRapidRebalance)

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type configParams struct {
4545
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"`
4646
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"`
4747
Exclude []string `long:"exclude" description:"don't use this node or your channel for routing (can be specified multiple times)" json:"exclude" toml:"exclude"`
48-
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"`
48+
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"`
4949
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"`
5050
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"`
5151
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"`

0 commit comments

Comments
 (0)