autopilot: Change default heuristic to top_centrality
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user