Merge pull request #4668 from Empact/patch-2

[autopilot] change default heuristic to top_centrality
This commit is contained in:
Olaoluwa Osuntokun 2020-10-07 16:48:12 -07:00 committed by GitHub
commit 6493a43c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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={topk_centrality:1}
; top_centrality:1)
; autopilot.heuristic=preferential:1
; The smallest channel that the autopilot agent should create (default: 20000)
; autopilot.minchansize=20000