mirror of
https://github.com/rkfg/regolancer
synced 2024-11-15 00:15:27 +00:00
Compare commits
2 Commits
0771bd50b8
...
fb578adc01
Author | SHA1 | Date | |
---|---|---|---|
|
fb578adc01 | ||
|
1e8858c41c |
@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic
|
||||
Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.12.3]
|
||||
### Fixed
|
||||
- Relative amount parameters worked only from CLI, now they can be specified in
|
||||
the configs too
|
||||
## [1.12.2]
|
||||
### Fixed
|
||||
- Payment after probing used the global rebalancing context instead of attempt
|
||||
|
4
main.go
4
main.go
@ -33,8 +33,8 @@ type configParams struct {
|
||||
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" toml:"perc"`
|
||||
Amount int64 `short:"a" long:"amount" description:"amount to rebalance" json:"amount" toml:"amount"`
|
||||
RelAmountTo float64 `long:"rel-amount-to" description:"calculate amount as the target channel capacity fraction (for example, 0.2 means you want to achieve at most 20% target channel local balance)" json:"rem_amount_to" toml:"rel_amount_to"`
|
||||
RelAmountFrom float64 `long:"rel-amount-from" description:"calculate amount as the source channel capacity fraction (for example, 0.2 means you want to achieve at most 20% source channel remote balance)" json:"rem_amount_from" toml:"rel_amount_from"`
|
||||
RelAmountTo float64 `long:"rel-amount-to" description:"calculate amount as the target channel capacity fraction (for example, 0.2 means you want to achieve at most 20% target channel local balance)" json:"rel_amount_to" toml:"rel_amount_to"`
|
||||
RelAmountFrom float64 `long:"rel-amount-from" description:"calculate amount as the source channel capacity fraction (for example, 0.2 means you want to achieve at most 20% source channel remote balance)" json:"rel_amount_from" toml:"rel_amount_from"`
|
||||
ProbeSteps int `short:"b" long:"probe-steps" description:"if the payment fails at the last hop try to probe lower amount using this many steps" json:"probe_steps" toml:"probe_steps"`
|
||||
AllowRapidRebalance bool `long:"allow-rapid-rebalance" description:"if a rebalance succeeds the route will be used for further rebalances until criteria for channels is not satifsied" json:"allow_rapid_rebalance" toml:"allow_rapid_rebalance"`
|
||||
MinAmount int64 `long:"min-amount" description:"if probing is enabled this will be the minimum amount to try" json:"min_amount" toml:"min_amount"`
|
||||
|
Loading…
Reference in New Issue
Block a user