lnd.xprv/autopilot
Johan T. Halseth b3d315298c
autopilot/agent: use NodeScores to select channel candidates
This commit makes the autopilot agent use the new NodeScores heuristic
API to select channel candiates, instead of the Select API. The result
will be similar, but instead of selecting a set of nodes to open
channels to, we get a score based results which can later be used
together with other heuristics to choose nodes to open channels to.

This commit also makes the existing autopilot agent tests compatible
with the new NodeScores API.
2018-12-06 14:26:26 +01:00
..
agent_test.go autopilot/agent: use NodeScores to select channel candidates 2018-12-06 14:26:26 +01:00
agent.go autopilot/agent: use NodeScores to select channel candidates 2018-12-06 14:26:26 +01:00
graph.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
heuristic_constraints.go autopilot: define HeuristicConstraints 2018-12-06 11:20:09 +01:00
interface.go autopilot/prefattach+interface: add API NodeScores 2018-12-06 14:26:05 +01:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
prefattach_test.go autopilot/prefattach_test: use NodeScores API for prefAttach tests 2018-12-06 14:26:05 +01:00
prefattach.go autopilot/prefattach+interface: add API NodeScores 2018-12-06 14:26:05 +01:00