lnd/autopilot
Olaoluwa Osuntokun 9bcb139bcc
autopilot: shuffle set of candidates using Fisher–Yates before selecting
In this commit we modify the ConstrainedPrefAttachment.Select method to
first shuffle the set of potential candidates before selecting them.
This serves to remove the existing grouping between candidates which
may have influenced the selection.
2017-10-30 18:55:55 -07:00
..
agent.go
agent_test.go
graph.go
interface.go
log.go
prefattach.go autopilot: shuffle set of candidates using Fisher–Yates before selecting 2017-10-30 18:55:55 -07:00
prefattach_test.go