lnd.xprv/autopilot
Johan T. Halseth 5e8e54083f
autopilot/prefattach+interface: add API NodeScores
This commit adds a new method NodeScores to the AttachementHeuristic
interface. Its intended use is to score a set of nodes according to
their preference as channel counterparties.

The PrefAttach heuristic gets a NodeScores method that will score the
ndoes according to their number of already existing channels, similar to
what is done already in Select.
2018-12-06 14:26:05 +01:00
..
agent_test.go autopilot/prefattach+interface: add API NodeScores 2018-12-06 14:26:05 +01:00
agent.go autopilot/interface+agent: remove NodeKey from AttachmentDirective 2018-12-06 14:26:05 +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/interface+agent: remove NodeKey from AttachmentDirective 2018-12-06 14:26:05 +01:00
prefattach.go autopilot/prefattach+interface: add API NodeScores 2018-12-06 14:26:05 +01:00