autopilot: Change default heuristic to top_centrality

This commit is contained in:
Ben Woosley 2020-10-02 20:13:54 -07:00
parent da805c022e
commit 465c2d17f4
No known key found for this signature in database
GPG Key ID: 4D8CA4BA18040906
2 changed files with 3 additions and 3 deletions

View File

@ -395,7 +395,7 @@ func DefaultConfig() Config {
MinConfs: 1,
ConfTarget: autopilot.DefaultConfTarget,
Heuristic: map[string]float64{
"preferential": 1.0,
"top_centrality": 1.0,
},
},
PaymentsExpirationGracePeriod: defaultPaymentsExpirationGracePeriod,

View File

@ -477,8 +477,8 @@ litecoin.node=ltcd
; autopilot.allocation=0.6
; Heuristic to activate, and the weight to give it during scoring. (default:
; preferential:1)
; autopilot.heuristic=top_centrality:1
; top_centrality:1)
; autopilot.heuristic=preferential:1
; The smallest channel that the autopilot agent should create (default: 20000)
; autopilot.minchansize=20000