lnd.xprv/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_test.go autopilot: add tracking of pending channel state 2017-08-15 18:23:58 -07:00
agent.go autopilot: ensure all access to pendingOpens is thread-safe 2017-08-22 00:51:33 -07:00
graph.go multi: Update lnd to use new feature vector API. 2017-10-17 22:47:20 -07:00
interface.go autopilot: for ConstrainedPrefAttachment.Select factor in skipNodes 2017-08-22 00:51:43 -07:00
log.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
prefattach_test.go autopilot: fix bug in skip nodes test, use new instance for each run 2017-08-22 00:51:39 -07:00
prefattach.go autopilot: shuffle set of candidates using Fisher–Yates before selecting 2017-10-30 18:55:55 -07:00