autopilot: Change default heuristic to top_centrality

This commit is contained in:
Ben Woosley committed 2020-10-02 20:13:54 -07:00
1 parent da805c022e
commit 465c2d17f4
2 files changed
+3 -3

No files matched your search

+1 -1
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,
+2 -2
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